Lines Matching refs:input
2 Test array_walk() function : usage variations - 'input' argument as diff. associative arrays
6 * Passing 'input' argument as an associative array
10 echo "*** Testing array_walk() : 'input' as an associative array ***\n";
14 // dump the input values to see if they are
24 // dump the input values to see if they are
33 // dump the input values to see if they are
41 $input = array( 1 => 25, 5 => 12, 0 => -80, -2 => 100, 5 => 30);
43 var_dump( array_walk($input, "for_numeric", 10));
46 $input = array( "a" => "Apple", 'b' => 'Bananna', "c" => "carrot", 'o' => "Orange");
48 var_dump( array_walk($input, "for_string"));
51 $input = array( b"a" => "Apple", b"b" => "Banana");
53 var_dump( array_walk($input, "for_string"));
56 $input = array( 0 => 1, 1 => 2, "a" => "Apple", "b" => "Banana", 2 =>3);
58 var_dump( array_walk($input, "for_mixed"));
63 *** Testing array_walk() : 'input' as an associative array ***