PHP 4.0 Bug #5772 Updated: if ("" == "0") inconsistent behavior on IIS 4.0
| From: | Bug Database | Date: | Tue, 25 Jul 2000 09:58:55 +0000 |
| Subject: | PHP 4.0 Bug #5772 Updated: if ("" == "0") inconsistent behavior on IIS 4.0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25952@lists.php.net to get a copy of this message | ||
ID: 5772
Updated by: hholzgra
Reported By: steve@teamits.com
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
this is one of the small differences between
php 3 and 4
see
http://php.net/version4/incompatibilities.php
third topic from bottom
in php 4 you will have to compare strpos result
with "=== 0" for "begibbing of string match"
or with "=== false" for "no match found"
Full Bug description available at: http://bugs.php.net/?id=5772