I wonder why something non-empty is considered to be an empty array
element:
===
if ( in_array('pattern', array( 0 ) ) )
       print "Got it";
===
I got the true condition. However, after I populate the array with
antries other than 0 and ''
the condition fails.
I think that would not be PHP error. But what's the thing I
misunderstood?

-- 
PHP General 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