ID:               38209
 Updated by:       [EMAIL PROTECTED]
 Reported By:      thuejk at gmail dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         Documentation problem
 Operating System: all
 PHP Version:      Irrelevant
 New Comment:

We have already discussed this one, and although I agree with you, we
voted for not changing it.


Previous Comments:
------------------------------------------------------------------------

[2006-07-25 17:42:47] thuejk at gmail dot com

Description:
------------
The prototype for strpos() at
http://dk2.php.net/manual/en/function.strpos.php is

  int strpos ( string haystack, mixed needle [, int offset] )

however, as it says below 

  If needle is not found, strpos() will return boolean FALSE.

So the return value should be "mixed". Same for the functions mentioned
in "see also" for strpos() and ereg().



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38209&edit=1

Reply via email to