Date: 09/03/01
- Next message: Wez Furlong: "Re: [PHP-DEV] fcall_begin_handler_func_t (Zend extensions)"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] fcall_begin_handler_func_t (Zend extensions)"
- In reply to: olivier.sow <email protected>: "[PHP-DEV] Bug #13111: compare two string via =="
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Wez Furlong: "Re: [PHP-DEV] fcall_begin_handler_func_t (Zend extensions)"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] fcall_begin_handler_func_t (Zend extensions)"
- In reply to: olivier.sow <email protected>: "[PHP-DEV] Bug #13111: compare two string via =="
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

