in PHP if i have a multidimensional array like this how can i get the only the array that has the key highlight = 1, without using foreach, for, or any kind of loop? is it possible?
array(
array(
[id] => xxx,
[name] => blah,
[highlight] => 0
),
array(
[id] => yyy,
[name] => blahblah,
[highlight] => 1
),
array(
[id] => zzz,
[name] => blahblahblah,
[highlight] => 0
),
)
thanks