mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Include null on failure in return values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349161 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
1ebf8fee1a
commit
a4e73423dc
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
<para>
|
||||
The length of the <parameter>string</parameter> on success,
|
||||
and <literal>0</literal> if the <parameter>string</parameter> is empty.
|
||||
Will return &null; on failure.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -55,6 +56,7 @@
|
|||
<row>
|
||||
<entry>5.3.0</entry>
|
||||
<entry>
|
||||
Returns &null; on failure.
|
||||
Prior versions treated arrays as the string <literal>Array</literal>, thus returning
|
||||
a string length of <literal>5</literal> and emitting an <constant>E_NOTICE</constant> level error.
|
||||
</entry>
|
||||
|
|
Loading…
Reference in a new issue