Bug #3933 Updated: strpos doesn't find needle under certain conditions
| From: | Bug Database | Date: | Mon, 27 Mar 2000 06:24:25 +0000 |
| Subject: | Bug #3933 Updated: strpos doesn't find needle under certain conditions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17275@lists.php.net to get a copy of this message | ||
ID: 3933
User Update by: wayne@pruvodce.cz
Old-Status: Closed
Status: Open
Bug Type: Misbehaving function
Description: strpos doesn't find needle under certain conditions
OK, but manual says:
If needle is not found, returns false.
My check is correct (according to documentation).
I think it's better to return "-1" when needle isn't found.
Full Bug description available at: http://bugs.php.net/?id=3933