php-windows Digest 9 Mar 2011 14:03:00 -0000 Issue 3922

Topics (messages 30523 through 30523):

What does array_search actually return if a value is not found?
        30523 by: Jacob Kruger

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
According to online manual etc., I have tried testing it against both false, 
and -1 using operators like == != === etc., but for whatever reason I can't 
seem to manage to compare/test it's return value successfully to determine 
whether or not a value actually exists in an array, and get returned the 
relevant index/key.

TIA

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

--- End Message ---

Reply via email to