update example to use newer parameter count warning message

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335198 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2014-11-19 16:49:46 +00:00
parent eb25180567
commit d35ac758b0

View file

@ -96,9 +96,9 @@ strpos();
&example.outputs.similar;
<screen>
<![CDATA[
Fatal error: Uncaught exception 'ErrorException' with message 'Wrong parameter count for strpos()' in /home/bjori/tmp/ex.php:8
Fatal error: Uncaught exception 'ErrorException' with message 'strpos() expects at least 2 parameters, 0 given' in /home/bjori/tmp/ex.php:8
Stack trace:
#0 [internal function]: exception_error_handler(2, 'Wrong parameter...', '/home/bjori/php...', 8, Array)
#0 [internal function]: exception_error_handler(2, 'strpos() expect...', '/home/bjori/php...', 8, Array)
#1 /home/bjori/php/cleandocs/test.php(8): strpos()
#2 {main}
thrown in /home/bjori/tmp/ex.php on line 8