Searched refs:array_change_key_case (Results 1 – 15 of 15) sorted by relevance
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_change_key_case_variation1.phpt | 2 Test array_change_key_case() function : usage variations - Pass different data types as $input arg 5 /* Prototype : array array_change_key_case(array $input [, int $case]) 11 * Pass different data types as $input argument to test behaviour of array_change_key_case() 14 echo "*** Testing array_change_key_case() : usage variations ***\n"; 85 // loop through each element of $inputs to check the behavior of array_change_key_case() 89 var_dump( array_change_key_case($input) ); 99 *** Testing array_change_key_case() : usage variations *** 148 Warning: array_change_key_case() expects parameter 1 to be array, null given in %s on line %d 153 Warning: array_change_key_case() expects parameter 1 to be array, null given in %s on line %d 212 Warning: array_change_key_case() expects parameter 1 to be array, null given in %s on line %d [all …]
|
H A D | array_change_key_case_errors.phpt | 2 Test array_change_key_case() function - 3 9 var_dump( array_change_key_case($int_var) ); // args less than expected 10 var_dump( array_change_key_case($int_var, CASE_UPPER) ); // invalid first argument 11 var_dump( array_change_key_case() ); // Zero argument 12 var_dump( array_change_key_case($item, $item["one"], "CASE_UPPER") ); // more than expected numbers 17 Warning: array_change_key_case() expects parameter 1 to be array, integer given in %s on line %d 20 Warning: array_change_key_case() expects parameter 1 to be array, integer given in %s on line %d 23 Warning: array_change_key_case() expects at least 1 parameter, 0 given in %s on line %d 26 Warning: array_change_key_case() expects at most 2 parameters, 3 given in %s on line %d
|
H A D | array_change_key_case_variation.phpt | 2 Test array_change_key_case() function - 2 9 var_dump(array_change_key_case($item, "CASE_UPPER")); 10 var_dump(array_change_key_case($item, 5)); 14 var_dump( array_change_key_case( array("ONE" => 1, "one" => 3, "One" => 4) ) ); 15 var_dump( array_change_key_case( array("ONE" => 1, "one" => 6, "One" => 5), "CASE_UPPER" ) ); 18 var_dump( array_change_key_case( array("ONE" => 1, "one" => 2, "One" => 3), CASE_UPPER ) ); 19 var_dump( array_change_key_case( array("ONE" => 1, "one" => 1, "One" => 2), 5 ) ); 24 Warning: array_change_key_case() expects parameter 2 to be long, string given in %s on line %d 41 Warning: array_change_key_case() expects parameter 2 to be long, string given in %s on line %d
|
H A D | array_change_key_case_variation5.phpt | 2 Test array_change_key_case() function : usage variations - position of internal pointer 5 /* Prototype : array array_change_key_case(array $input [, int $case]) 14 echo "*** Testing array_change_key_case() : usage variations ***\n"; 18 echo "\n-- Call array_change_key_case() --\n"; 19 var_dump($result = array_change_key_case($input, CASE_UPPER)); 30 *** Testing array_change_key_case() : usage variations *** 32 -- Call array_change_key_case() --
|
H A D | array_change_key_case_variation6.phpt | 2 Test array_change_key_case() function : usage variations - multidimensional arrays 5 /* Prototype : array array_change_key_case(array $input [, int $case]) 11 * Test how array_change_key_case() converts keys in multi-dimensional arrays 14 echo "*** Testing array_change_key_case() : usage variations ***\n"; 21 var_dump(array_change_key_case($input, CASE_UPPER)); 24 var_dump(array_change_key_case($input['English'], CASE_UPPER)); 30 *** Testing array_change_key_case() : usage variations ***
|
H A D | array_change_key_case_variation2.phpt | 2 Test array_change_key_case() function : usage variations - Pass different data types as $case arg 5 /* Prototype : array array_change_key_case(array $input [, int $case]) 11 * Pass different data types as $case argument to array_change_key_case() to test behaviour 15 echo "*** Testing array_change_key_case() : usage variations ***\n"; 75 // loop through each element of $inputs to check the behavior of array_change_key_case() 79 var_dump( array_change_key_case($array, $input) ); 87 *** Testing array_change_key_case() : usage variations *** 241 Warning: array_change_key_case() expects parameter 2 to be long, string given in %s on line %d 246 Warning: array_change_key_case() expects parameter 2 to be long, string given in %s on line %d 251 Warning: array_change_key_case() expects parameter 2 to be long, array given in %s on line %d [all …]
|
H A D | array_change_key_case_variation7.phpt | 2 Test array_change_key_case() function : usage variations - referenced variables 5 /* Prototype : array array_change_key_case(array $input [, int $case]) 11 * Test array_change_key_case() when: 16 echo "*** Testing array_change_key_case() : usage variations ***\n"; 23 var_dump(array_change_key_case($new_input, CASE_UPPER)); 33 *** Testing array_change_key_case() : usage variations ***
|
H A D | array_change_key_case_variation8.phpt | 2 Test array_change_key_case() function : usage variations - Different strings as keys 10 /* Prototype : array array_change_key_case(array $input [, int $case]) 16 * Test how array_change_key_case() behaves with different strings 19 echo "*** Testing array_change_key_case() : usage variations ***\n"; 31 var_dump(array_change_key_case($input)); 33 var_dump(array_change_key_case($input, CASE_UPPER)); 40 *** Testing array_change_key_case() : usage variations ***
|
H A D | array_change_key_case_variation4.phpt | 2 Test array_change_key_case() function : usage variations - different int values for $case 5 /* Prototype : array array_change_key_case(array $input [, int $case]) 11 * Pass different integer values as $case argument to array_change_key_case() to test behaviour 14 echo "*** Testing array_change_key_case() : usage variations ***\n"; 20 var_dump(array_change_key_case($temp, $i)); 27 *** Testing array_change_key_case() : usage variations ***
|
H A D | array_change_key_case_variation3.phpt | 2 Test array_change_key_case() function : usage variations - different data types as keys 5 /* Prototype : array array_change_key_case(array $input [, int $case]) 11 * Pass arrays with different data types as keys to array_change_key_case() 15 echo "*** Testing array_change_key_case() : usage variations ***\n"; 93 // loop through each sub-array of $inputs to check the behavior of array_change_key_case() 97 var_dump( array_change_key_case($input, CASE_UPPER) ); 104 *** Testing array_change_key_case() : usage variations ***
|
H A D | array_change_key_case.phpt | 2 Test array_change_key_case() function 5 /* Prototype: array array_change_key_case ( array $input [, int $case] ) 55 var_dump(array_change_key_case($item)); 56 var_dump(array_change_key_case($item, CASE_UPPER)); 57 var_dump(array_change_key_case($item, CASE_LOWER));
|
/PHP-5.6/ext/com_dotnet/tests/ |
H A D | bug39606.phpt | 10 $arEnv = array_change_key_case($_SERVER, CASE_UPPER);
|
/PHP-5.6/ext/standard/ |
H A D | php_array.h | 79 PHP_FUNCTION(array_change_key_case);
|
H A D | array.c | 2648 PHP_FUNCTION(array_change_key_case) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 3310 PHP_FE(array_change_key_case, arginfo_array_change_key_case)
|
Completed in 43 milliseconds