From:             [EMAIL PROTECTED]
Operating system: W2K
PHP version:      4.0.4pl1
PHP Bug Type:     Scripting Engine problem
Bug description:  Wrong result when comparing two specific strings via "==".

Hi!

This seems to be a bug:

<?php $TextColor="000000"; if ($TextColor == "0000D0") echo "Why?"; ?>

This will produce the output "Why?" on my system ... but: why?
"000000" isn't equal "0000D0"!?

If I'm wrong, please tell me why ... thanks!!

 ... tobias wiersch



-- 
Edit Bug report at: http://bugs.php.net/?id=10508&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to