Bug #3933 Updated: strpos doesn't find needle under certain conditions

From: Date: Mon, 27 Mar 2000 06:29:04 +0000
Subject: Bug #3933 Updated: strpos doesn't find needle under certain conditions
Groups: php.dev 
Request: Send a blank email to php-dev+get-17276@lists.php.net to get a copy of this message
ID: 3933 Updated by: rasmus Reported By: wayne@pruvodce.cz Status: Closed Bug Type: Misbehaving function Assigned To: Comments: It does return false when the needle is not found. However 0 and false are ambiguous and as such your check is wrong. There is nothing incorrect in the manual, however it could be a bit clearer. This is also one of the reasons the === operator was introduced in PHP 4. Full Bug description available at: http://bugs.php.net/?id=3933

« previous php.dev (#17276) next »