Lines Matching refs:input
2 Test array_flip() function : usage variations - 'input' argument with repeatitive keys and values
6 * Using different types of repeatitive keys as well as values for 'input' array
9 echo "*** Testing array_flip() : 'input' array with repeatitive keys/values ***\n";
12 $input = array(1 => 'value', 2 => 'VALUE', 1 => "VaLuE", 3 => 4, 3 => 5);
13 var_dump( array_flip($input) );
16 $input = array("key" => 1, "two" => 'TWO', 'three' => 3, 'key' => "FOUR");
17 var_dump( array_flip($input) );
20 $input = array(true => 1, false => 0, TRUE => -1);
21 var_dump( array_flip($input) );
24 $input = array(null => "Hello", NULL => 0);
25 var_dump( array_flip($input) );
28 $input = array('one' => 1, 'two' => 2, 3 => 1, "index" => 1);
29 var_dump( array_flip($input) );
32 $input = array('key1' => "value1", "key2" => '2', 'key3' => 'value1');
33 var_dump( array_flip($input) );
38 *** Testing array_flip() : 'input' array with repeatitive keys/values ***