Arrays

From: Date: Tue, 06 Dec 2005 17:33:47 +0000
Subject: Arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-226961@lists.php.net to get a copy of this message
If I have an array, such as $Var[0] = "Dog"; $Var[1] = "Cat"; $Var[2] = "Horse"; Is there a way to quickly check to see if $Var contains "Lion" without walking through each value?

« previous php.general (#226961) next »