note 18914 deleted from function.strpos by nlopess

From: Date: Tue, 25 Jul 2006 20:14:10 +0000
Subject: note 18914 deleted from function.strpos by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-115186@lists.php.net to get a copy of this message
Note Submitter: soletan at toxa dot de ---- Better to use the original example from reference part for checking, if strpos failed or not with version before 4.03b. When pos is an integer and is interpreted as boolean false (so it is 0) strpos FOUND something immediately at the haystack's beginning ...

« previous php.notes (#115186) next »