Date: 03/27/00
- Next message: Adam Kropielnicki: "[PHP-DEV] How to add an extension"
- Previous message: Bug Database: "[PHP-DEV] Bug #3933 Updated: strpos doesn't find needle under certain conditions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 3933
Updated by: rasmus
Reported By: wayne <email protected>
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
It does return false when the needle is not found. However 0 and false are
ambiguous and as such your check is wrong. There is nothing incorrect in the manual, however it could be a bit clearer.
This is also one of the reasons the === operator was introduced in PHP 4.
Full Bug description available at: http://bugs.php.net/?id=3933
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Adam Kropielnicki: "[PHP-DEV] How to add an extension"
- Previous message: Bug Database: "[PHP-DEV] Bug #3933 Updated: strpos doesn't find needle under certain conditions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

