[PHP-DEV] Bug #13111 Updated: compare two string via == From: hholzgra <email protected>
Date: 09/03/01

ID: 13111
Updated by: hholzgra
Reported By: olivier.sow <email protected>
Old Status: Open
Status: Closed
Bug Type: Strings related
Operating System: WINDOWS 2000 SERVER
PHP Version: 4.0.5
New Comment:

try using the === operator to avoid type conversion
and you will see the solution

Previous Comments:
------------------------------------------------------------------------

[2001-09-03 12:20:13] olivier.sow <email protected>

<?
if( '00d000000000000' == '00e000000000000' ) {
        echo "For Mr PhP '00d000000000000' == '00e000000000000' :)<BR>";
}
?>

try this script ! You will see the problem :)

------------------------------------------------------------------------

Edit this bug report at http://bugs.php.net/?id=13111&edit=1

-- 
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>