1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Anonymous contributions

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335484 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jean-Sebastien Hedde
2014-12-30 12:29:17 +00:00
parent 204bc2974d
commit 41060e691d
10 changed files with 17 additions and 15 deletions

View File

@@ -215,7 +215,7 @@ Returns the length of given string.
<para>
<screen>
<![CDATA[
bool in_array ( mixed $needle, array $haystack [, bool $strict])
bool in_array ( mixed $needle, array $haystack [, bool $strict = FALSE ] )
]]>
</screen>
</para>

View File

@@ -1037,7 +1037,7 @@ try {
<listitem>
<simpara>
<function>date_parse_from_format</function>
- Get infoformation about a given date.
- Get information about a given date.
</simpara>
</listitem>
<listitem>

View File

@@ -468,18 +468,14 @@ Hi Joe. You are 22 years old.
<itemizedlist>
<listitem>
<simpara>
The deprecation of the old <varname>$HTTP_*_VARS</varname> arrays
(which need to be indicated as global when used inside a function or
method). The following
The old <varname>$HTTP_*_VARS</varname> arrays are not available as of
PHP 5.4.0. The following
<link linkend="language.variables.superglobals">superglobal arrays</link>
were introduced in PHP <link xlink:href="&url.php.release4.1.0;">4.1.0</link>.
They are: <varname>$_GET</varname>, <varname>$_POST</varname>,
<varname>$_COOKIE</varname>, <varname>$_SERVER</varname>,
<varname>$_FILES</varname>, <varname>$_ENV</varname>,
<varname>$_REQUEST</varname>, and <varname>$_SESSION</varname>. The
older <varname>$HTTP_*_VARS</varname> arrays, such as
<varname>$HTTP_POST_VARS</varname>, also exist.
&avail.register-long-arrays;
<varname>$_REQUEST</varname>, and <varname>$_SESSION</varname>.
</simpara>
</listitem>
<listitem>

View File

@@ -17,7 +17,7 @@
</para>
<para>
Type hints can not be used with scalar types such as <type>int</type> or
Type hints cannot be used with scalar types such as <type>int</type> or
<type>string</type>.
<link linkend="language.types.resource">Resources</link> and <link linkend="language.oop5.traits">Traits</link> are not allowed either.
</para>

View File

@@ -834,7 +834,7 @@ I am B.
<para>
As of PHP 5.4.0, there are only two ways to access data from your HTML forms.
Currently availiable methods are listed below:
Currently available methods are listed below:
</para>
<para>

View File

@@ -6,7 +6,7 @@
If a callback is registered for an event, it will be called when the event
becomes active. To associate a callback with event one can pass a
<type>callable</type>
to whether
to either
<methodname>Event::__construct</methodname>
, or
<methodname>Event::set</methodname>

View File

@@ -98,7 +98,7 @@ if ($check) {
echo "Deleted: " . $check->Deleted . "<br />\n" ;
echo "Size: " . $check->Size . "<br />\n" ;
} else {
echo "imap_check() failed: " . imap_last_error() . "<br />\n";
echo "imap_mailboxmsginfo() failed: " . imap_last_error() . "<br />\n";
}
imap_close($mbox);

View File

@@ -32,7 +32,7 @@
<literal>apache2filter</literal>, <literal>apache2handler</literal>,
<literal>caudium</literal>, <literal>cgi</literal> (until PHP 5.3),
<literal>cgi-fcgi</literal>, <literal>cli</literal>, <literal>cli-server</literal>,
<literal>continuity</literal>, <literal>embed</literal>,
<literal>continuity</literal>, <literal>embed</literal>, <literal>fpm-fcgi</literal>,
<literal>isapi</literal>, <literal>litespeed</literal>,
<literal>milter</literal>, <literal>nsapi</literal>,
<literal>phttpd</literal>, <literal>pi3web</literal>, <literal>roxen</literal>,

View File

@@ -53,7 +53,7 @@
<term><parameter>fetch_argument</parameter></term>
<listitem>
<para>
This argument have a different meaning depending on the value of
This argument has a different meaning depending on the value of
the <parameter>fetch_style</parameter> parameter:
<itemizedlist>
<listitem>

View File

@@ -11,6 +11,12 @@
<para>
The Standard PHP Library (SPL) is a collection of interfaces and classes that are meant to solve
common problems.
</para>
<para>
No external libraries are needed to build this extension and it is available and compiled by default in PHP 5.0.0.
</para>
<para>
SPL provides a set of standard datastructure, a set of iterators to traverse over objects, a set of interfaces, a set of standard Exceptions, a number of classes to work with files and it provides a set of functions like <function>spl_autoload_register</function>
</para>
</preface>