note 55315 deleted from function.stristr by danbrown

From: Date: Fri, 28 Nov 2008 20:07:00 +0000
Subject: note 55315 deleted from function.stristr by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147179@lists.php.net to get a copy of this message
Note Submitter: trojjer ---- Regarding previous entry about validation: "Note: If you only want to determine if a particular needle occurs within haystack, use the faster and less memory intensive function strpos() instead." You have to use strpos('haystack','needle')!==false though, of course, incase it returns zero as the actual position, like it says on that page.

« previous php.notes (#147179) next »