Lines Matching refs:ar
6 $ar = ["one" => 1, "two"=>2, "three" => 3];
7 var_dump(array_walk($ar, function(){ var_dump(func_get_args());}));
10 $ar = ["one" => 1, "two"=>2, "three" => 3];
17 var_dump(array_walk($ar, $func, $user_data));
22 $ar = ["one" => 1, "two"=>2, "three" => 3];
29 var_dump(array_walk($ar, $func, $user_data));
35 $ar = ["one" => 1, "two"=>2, "three" => 3];
42 var_dump(array_walk($ar, $func, $user_data));
55 $ar = ["one" => 1, "two"=>2, "three" => 3];
58 var_dump(array_walk($ar, "sum_it_up_object", $user_data));
70 $ar = ["one" => 1, "two"=>2, "three" => 3];
73 var_dump(array_walk($ar, "sum_it_up_array", $user_data));
78 $ar = ["one" => 1, "two"=>2, "three" => 3];
80 var_dump(array_walk($ar, function($v, $k) { if ($v == 2) throw new Exception; } ));