|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-02-26 07:45 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 10:00:02 2025 UTC |
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 ;-)