note 4412 deleted from function.strpos by jimw

From: Date: Thu, 18 Oct 2001 21:24:50 +0000
Subject: note 4412 deleted from function.strpos by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19121@lists.php.net to get a copy of this message
It should be mentioned that u have to use if(strpos($haystack, $needle) >= "0") {...} NOT if(strpos($haystack, $needle) >= 0) {...} The second code would be always true!

« previous php.notes (#19121) next »