From: [EMAIL PROTECTED] Operating system: linux 2.2.x 2.4.x PHP version: 4.0.3pl1 PHP Bug Type: Arrays related Bug description: in_array() error comparison problem in in_array() function <?php $a="foo"; $b=array(1, 4, 6); if(in_array($a, $b)){ echo "BAR!"; } ?> is a little bit confusing, espacially for user, who comes from other programming languages ... (seems not to be a feature ;-) -- Edit Bug report at: http://bugs.php.net/?id=9458&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]