From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Math related Bug description: Two different types compare problem! ### CODE ### $Flag = 0; if ( $Flag == 'N' ) echo "1"; else echo "2"; ### END ### Result: 1 If the $Flag is integer value and 'N' non integer, why this operation gives true as the result? This is different types 0 and 'N', but if the programm can compare this values, it will be better to give "false"! Can you explane this ? -- Edit Bug report at: http://bugs.php.net/?id=9478&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]