ID:               15691
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: Any
 PHP Version:      4.1.1
 New Comment:

Changing this behavior will break way too many scripts, so it's
absolutely not a good idea to change this behavior.

Derick


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

[2002-02-23 15:12:51] [EMAIL PROTECTED]

It would be boundlessly helpful if someone could make strpos(), etc.
return a -1 instead of FALSE like C++/Java.  Returning a FALSE
(something that casts to an integer of 0) doesn't seem to make much
sense.  Even if it can be worked around with strpos() === FALSE, it
would be a lot easier without having to rely upon it.  Any reason why
it should be using FALSE instead of -1?

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


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

Reply via email to