Ver originalfunction foo($arr) { if (count($arr) == 0) { return false; } foreach ($arr as $key => $value) { }}