PHP 4.0 Bug #5745 Updated: strpos returns false if match on first character
| From: | Bug Database | Date: | Sun, 23 Jul 2000 10:20:43 +0000 |
| Subject: | PHP 4.0 Bug #5745 Updated: strpos returns false if match on first character | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25554@lists.php.net to get a copy of this message | ||
ID: 5745
Updated by: stas
Reported By: steve@srtware.com
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
Yes it returns zero. It is not a bug. Use another condition to detect "not found" case.
Full Bug description available at: http://bugs.php.net/?id=5745