clarify array_filter return value with no matches, fixes bug #51568

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298066 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2010-04-16 08:19:34 +00:00
parent 16eaf79304
commit 6a26ef9f50

View file

@ -30,9 +30,9 @@
parameter is an <type>array</type>, or a <type>string</type> otherwise.
</para>
<para>
If matches are found, the new <parameter>subject</parameter> will
be returned, otherwise <parameter>subject</parameter> will be
returned unchanged or &null; if an error occurred.
If no matches are found or an error occurred, an empty <type>array</type>
is returned when <parameter>subject</parameter> is an <type>array</type>
or &null; otherwise.
</para>
</refsect1>