Location: PHPKode > projects > gframe > gframe/array.php
<?PHP

function find_in_array($array, $pattern)
{
	foreach($array as $array_split)
	 if($pattern == current($array_split))
	 	$array_result[] = $array_split;
	return $array_result;
}

?>
Return current item: gframe