use mixed for stristr return type

stristr() will return false if $needle is not found.

--
Patch by jmonsorno

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343177 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2017-10-03 15:34:19 +00:00
parent 2124911318
commit 865e03ad05

View file

@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>stristr</methodname>
<type>mixed</type><methodname>stristr</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>mixed</type><parameter>needle</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>before_needle</parameter><initializer>false</initializer></methodparam>