note 98300 rejected from function.stripos by kalle

From: Date: Tue, 08 Jun 2010 08:22:22 +0000
Subject: note 98300 rejected from function.stripos by kalle
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-169933@lists.php.net to get a copy of this message
Note Submitter: gireeshda at yahoo dot com ---- function "stripos" not working in php file without .php extension. Returns error. Seems to be a bug. To ensure that stripos works in all php version/platforms in files without .php extension, use the following code: strpos(strtolower($haystack), strtolower($needle), [ $offset = 0 ] )

« previous php.notes (#169933) next »