note 10431 rejected and deleted from strpos by zak

From: Date: Wed, 03 Jan 2001 15:58:36 +0000
Subject: note 10431 rejected and deleted from strpos by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-9339@lists.php.net to get a copy of this message
Wouldn't it be more 'standard' to just make strpos() return -1 if needle isn't found in haystack? Instead of this non-standard !== or === stuff?

« previous php.notes (#9339) next »