Lines Matching refs:echo
19 echo "*** Testing array_walk_recursive() : anonymous function as callback ***\n";
23 echo "-- Anonymous function with one argument --\n";
24 var_dump( array_walk_recursive($input, create_function('$value', 'var_dump($value); echo "\n";')));
26 echo "-- Anonymous function with two arguments --\n";
27 …ecursive($input, create_function('$value, $key', 'var_dump($key); var_dump($value); echo "\n";')));
29 echo "-- Anonymous function with three arguments --\n";
30 …ue, $key, $user_data', 'var_dump($key); var_dump($value); var_dump($user_data); echo "\n";'), 10));
32 echo "-- Anonymous function with one more argument --\n";
33 …key, $user_data', 'var_dump($key); var_dump($value); var_dump($user_data); echo "\n";'), 20, 30));
35 echo "-- Anonymous function with null argument --\n";
36 var_dump( array_walk_recursive( $input, create_function(null, 'echo "1\n";')));
37 echo "Done"