note 10431 added to strpos
| From: | icebrkr at cyberdyne dot org | Date: | Wed, 03 Jan 2001 15:34:29 +0000 |
| Subject: | note 10431 added to strpos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9336@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?
http://www.php.net/manual/function.strpos.php