note 87136 deleted from function.strpos by danbrown

From: Date: Thu, 20 Nov 2008 17:11:45 +0000
Subject: note 87136 deleted from function.strpos by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-146776@lists.php.net to get a copy of this message
Note Submitter: bentob0x ---- As the function returns an integer *or* a boolean (hence the advised use of '==='), shouldn't the description be: mixed strpos ( string $haystack , mixed $needle [, int $offset ] ) instead of: int strpos ( string $haystack , mixed $needle [, int $offset ] )

« previous php.notes (#146776) next »