Home
last modified time | relevance | path

Searched refs:array_walk_recursive (Results 1 – 25 of 27) sorted by relevance

12

/PHP-8.2/ext/standard/tests/array/
H A Darray_walk_recursive_error2.phpt2 Test array_walk_recursive() function : error conditions - callback parameters
6 * Testing array_walk_recursive() by passing more number of parameters to callback function
17 echo "*** Testing array_walk_recursive() : error conditions - callback parameters ***\n";
21 var_dump( array_walk_recursive($input, "callback1") );
26 var_dump( array_walk_recursive($input, "callback2", 4) );
33 var_dump( @array_walk_recursive($input, "callback1") );
38 var_dump( @array_walk_recursive($input, "callback2", 4) );
45 var_dump( array_walk_recursive($input, "callback1", 20, 10) );
53 *** Testing array_walk_recursive() : error conditions - callback parameters ***
58 -- Testing array_walk_recursive() function with too many callback parameters --
[all …]
H A Darray_walk_recursive_basic2.phpt2 Test array_walk_recursive() function : basic functionality - associative array
5 echo "*** Testing array_walk_recursive() : basic functionality ***\n";
29 echo "-- Using array_walk_recursive with default parameters to show array contents --\n";
30 var_dump(array_walk_recursive($fruits, 'test_print'));
32 echo "-- Using array_walk_recursive with one optional parameter to modify contents --\n";
33 var_dump (array_walk_recursive($fruits, 'test_alter', 'fruit'));
36 var_dump (array_walk_recursive($fruits, 'test_print'));
41 *** Testing array_walk_recursive() : basic functionality ***
42 -- Using array_walk_recursive with default parameters to show array contents --
56 -- Using array_walk_recursive with one optional parameter to modify contents --
[all …]
H A Darray_walk_recursive_basic1.phpt2 Test array_walk_recursive() function : basic functionality - regular array
5 echo "*** Testing array_walk_recursive() : basic functionality ***\n";
28 echo "-- Using array_walk_recursive() with default parameters to show array contents --\n";
29 var_dump( array_walk_recursive($fruits, 'test_print'));
31 echo "-- Using array_walk_recursive() with all parameters --\n";
32 var_dump( array_walk_recursive($fruits, 'with_userdata', "Added"));
37 *** Testing array_walk_recursive() : basic functionality ***
38 -- Using array_walk_recursive() with default parameters to show array contents --
52 -- Using array_walk_recursive() with all parameters --
H A Darray_walk_rec_objects.phpt2 array_walk_recursive() and objects
19 array_walk_recursive($stdclass, "walk");
22 array_walk_recursive($t, "walk");
25 array_walk_recursive($var, "walk");
28 array_walk_recursive($var, "walk");
46 array_walk_recursive(): Argument #1 ($array) must be of type array, string given
H A Darray_walk_recursive_variation8.phpt2 Test array_walk_recursive() function : usage variations - buit-in function as callback
12 echo "*** Testing array_walk_recursive() : built-in function as callback ***\n";
17 var_dump( array_walk_recursive($input, 'pow'));
20 var_dump( array_walk_recursive($input, "min"));
24 var_dump( array_walk_recursive($input, "echo"));
32 *** Testing array_walk_recursive() : built-in function as callback ***
38 array_walk_recursive(): Argument #2 ($callback) must be a valid callback, function "echo" not found…
H A Darray_walk_recursive_variation7.phpt2 Test array_walk_recursive() function : usage variations - anonymous callback function
14 echo "*** Testing array_walk_recursive() : anonymous function as callback ***\n";
19 var_dump( array_walk_recursive($input, function($value) { var_dump($value); echo "\n"; }));
22 var_dump( array_walk_recursive($input, function($value, $key) { var_dump($key); var_dump($value); e…
25 var_dump( array_walk_recursive($input, function($value, $key, $user_data) { var_dump($key); var_dum…
28 var_dump( array_walk_recursive( $input, function() { echo "1\n"; }));
32 *** Testing array_walk_recursive() : anonymous function as callback ***
H A Darray_walk_recursive_variation4.phpt2 Test array_walk_recursive() function : usage variations - 'input' array with subarray
6 * Testing array_walk_recursive() with an array having subarrays as elements
9 echo "*** Testing array_walk_recursive() : array with subarray ***\n";
28 var_dump( array_walk_recursive( $input, "callback"));
33 *** Testing array_walk_recursive() : array with subarray ***
H A Darray_walk_recursive_variation5.phpt2 Test array_walk_recursive() function : usage variations - 'input' argument containing reference var…
6 * Testing array_walk_recursive() with an array having reference variables
9 echo "*** Testing array_walk_recursive() : array with references ***\n";
28 var_dump( array_walk_recursive($input, "callback"));
33 *** Testing array_walk_recursive() : array with references ***
H A Darray_walk_recursive_object2.phpt2 Test array_walk_recursive() function : object functionality - array of objects
6 * Testing array_walk_recursive() with an array of objects
9 echo "*** Testing array_walk_recursive() : array of objects ***\n";
62 var_dump( array_walk_recursive($input, "callback_private", 1));
64 var_dump( array_walk_recursive($input, "callback_public"));
66 var_dump( array_walk_recursive($input, "callback_protected"));
71 *** Testing array_walk_recursive() : array of objects ***
H A Darray_walk_recursive_variation9.phpt2 Test array_walk_recursive() function : usage variations - different callback functions
6 * Passing different types of callback functions to array_walk_recursive()
11 echo "*** Testing array_walk_recursive() : callback function variation ***\n";
24 var_dump( array_walk_recursive($input, 'callback_two_parameter'));
34 var_dump( array_walk_recursive($input, 'callback_one_parameter'));
41 var_dump( array_walk_recursive($input, 'callback_no_parameter'));
44 var_dump( array_walk_recursive($input, 'callback_two_parameter', 10));
49 *** Testing array_walk_recursive() : callback function variation ***
H A Darray_walk_recursive.phpt2 Test array_walk_recursive()
14 var_dump (array_walk_recursive ($arr, 'foo'));
15 var_dump (array_walk_recursive ($arr, 'bar'));
H A Darray_walk_recursive_object1.phpt2 Test array_walk_recursive() function : object functionality
7 echo "*** Testing array_walk_recursive() : object functionality ***\n";
33 var_dump( array_walk_recursive($input, "callback", 1));
38 *** Testing array_walk_recursive() : object functionality ***
H A Darray_walk_recursive_variation3.phpt2 Test array_walk_recursive() function : usage variations - 'input' array with different values
6 * Testing array_walk_recursive() with following types of 'input' arrays:
15 echo "*** Testing array_walk_recursive() : 'input' array with different values***\n";
47 var_dump( array_walk_recursive($input_values[$count], "print_value", $count+1));
52 *** Testing array_walk_recursive() : 'input' array with different values***
H A Darray_walk_recursive1.phpt2 array_walk_recursive() tests
13 var_dump(array_walk_recursive($var, "foo", "data"));
20 var_dump(array_walk_recursive($var,"foo2", "data"));
H A Darray_walk_recursive_variation6.phpt2 Test array_walk_recursive() function : usage variations - 'input' argument as diff. associative arr…
10 echo "*** Testing array_walk_recursive() : 'input' as an associative array ***\n";
43 var_dump( array_walk_recursive($input, "for_numeric", 10));
48 var_dump( array_walk_recursive($input, "for_string"));
53 var_dump( array_walk_recursive($input, "for_string"));
58 var_dump( array_walk_recursive($input, "for_mixed"));
63 *** Testing array_walk_recursive() : 'input' as an associative array ***
H A Dbug42850.phpt2 Bug #42850 (array_walk_recursive() leaves references)
10 array_walk_recursive($data, 'apply_dumb');
18 array_walk_recursive($data, 'apply_changed');
H A Dbug62607.phpt2 Bug #62607: array_walk_recursive move internal pointer
7 array_walk_recursive($arr, function(&$val){});
H A Dbug61967.phpt2 Bug #61967: unset array item in array_walk_recursive cause inconsistent array
13 array_walk_recursive($arr,
H A Dbug34982.phpt2 Bug #34982 (array_walk_recursive() modifies elements outside function scope)
14 array_walk_recursive($a, 'apply');
H A Dbug70713.phpt2 Bug #70713: Use After Free Vulnerability in array_walk()/array_walk_recursive()
24 array_walk_recursive($arr, 'settype');
H A Dbug52719.phpt2 Bug #52719: array_walk_recursive crashes if third param of the function is by reference
7 array_walk_recursive(
H A Dbug74345.phpt31 array_walk_recursive($array, $cb);
H A Dbug34066_1.phpt241 array_walk_recursive($array, "gen_xml", "/Docs/");
252 array_walk_recursive($val, "gen_xml", "$prefix@");
255 array_walk_recursive($val, "gen_xml", "$prefix$key/");
/PHP-8.2/ext/standard/tests/
H A Dbug81048.phpt9 array_walk_recursive($_SERVER, function($value, $key) {
/PHP-8.2/ext/standard/
H A Dbasic_functions.stub.php957 function array_walk_recursive(array|object &$array, callable $callback, mixed $arg = UNKNOWN): true… function

Completed in 48 milliseconds

12