ID: 9458 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Arrays related Assigned To: Comments: Do not see any problem here. in_array returns for me false, as it should. This bug seems to be fixed or you have some other problem. Previous Comments: --------------------------------------------------------------------------- [2001-02-26 07:42:17] [EMAIL PROTECTED] 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 ;-) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9458&edit=2 -- 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]