Lines Matching refs:input
2 Test array_walk_recursive() function : usage variations - 'input' argument as diff. associative arr…
5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata])
11 * Passing 'input' argument as an associative array
15 echo "*** Testing array_walk_recursive() : 'input' as an associative array ***\n";
26 // dump the input values to see if they are
35 * Parameters : $value - values in given input array
36 * $key - keys in given input array
41 // dump the input values to see if they are
49 * Parameters : $value - values in given input array
50 * $key - keys in given input array
55 // dump the input values to see if they are
63 $input = array( 0 => array(1 => 25, 5 => 12, 0 => -80), 1 => array(-2 => 100, 5 => 30));
65 var_dump( array_walk_recursive($input, "for_numeric", 10));
68 $input = array( "a" => "Apple", 'z' => array('b' => 'Bananna', "c" => "carrot"), 'x' => array('o' =…
70 var_dump( array_walk_recursive($input, "for_string"));
73 $input = array( b"a" => "Apple", b"b" => "Banana");
75 var_dump( array_walk_recursive($input, "for_string"));
78 $input = array( 0 => array(0 => 1, 1 => 2), "x" => array("a" => "Apple", "b" => "Banana"), 2 =>3);
80 var_dump( array_walk_recursive($input, "for_mixed"));
85 *** Testing array_walk_recursive() : 'input' as an associative array ***