Home
last modified time | relevance | path

Searched refs:array_change_key_case (Results 1 – 14 of 14) sorted by relevance

/PHP-8.2/ext/standard/tests/array/
H A Darray_change_key_case_variation.phpt2 Test array_change_key_case() function - 2
10 var_dump(array_change_key_case($item, "CASE_UPPER"));
14 var_dump(array_change_key_case($item, 5));
18 var_dump( array_change_key_case( array("ONE" => 1, "one" => 3, "One" => 4) ) );
21 var_dump( array_change_key_case( array("ONE" => 1, "one" => 2, "One" => 3), CASE_UPPER ) );
22 var_dump( array_change_key_case( array("ONE" => 1, "one" => 1, "One" => 2), 5 ) );
27 array_change_key_case(): Argument #2 ($case) must be of type int, string given
H A Darray_change_key_case_variation5.phpt2 Test array_change_key_case() function : usage variations - position of internal pointer
9 echo "*** Testing array_change_key_case() : usage variations ***\n";
13 echo "\n-- Call array_change_key_case() --\n";
14 var_dump($result = array_change_key_case($input, CASE_UPPER));
24 *** Testing array_change_key_case() : usage variations ***
26 -- Call array_change_key_case() --
H A Darray_change_key_case_variation6.phpt2 Test array_change_key_case() function : usage variations - multidimensional arrays
6 * Test how array_change_key_case() converts keys in multi-dimensional arrays
9 echo "*** Testing array_change_key_case() : usage variations ***\n";
16 var_dump(array_change_key_case($input, CASE_UPPER));
19 var_dump(array_change_key_case($input['English'], CASE_UPPER));
24 *** Testing array_change_key_case() : usage variations ***
H A Darray_change_key_case_variation7.phpt2 Test array_change_key_case() function : usage variations - referenced variables
6 * Test array_change_key_case() when:
11 echo "*** Testing array_change_key_case() : usage variations ***\n";
18 var_dump(array_change_key_case($new_input, CASE_UPPER));
27 *** Testing array_change_key_case() : usage variations ***
H A Darray_change_key_case_variation8.phpt2 Test array_change_key_case() function : usage variations - Different strings as keys
6 * Test how array_change_key_case() behaves with different strings
9 echo "*** Testing array_change_key_case() : usage variations ***\n";
21 var_dump(array_change_key_case($input));
23 var_dump(array_change_key_case($input, CASE_UPPER));
29 *** Testing array_change_key_case() : usage variations ***
H A Darray_change_key_case_variation3.phpt2 Test array_change_key_case() function : usage variations - different data types as keys
6 * Pass arrays with different data types as keys to array_change_key_case()
10 echo "*** Testing array_change_key_case() : usage variations ***\n";
76 // loop through each sub-array of $inputs to check the behavior of array_change_key_case()
80 var_dump( array_change_key_case($input, CASE_UPPER) );
87 *** Testing array_change_key_case() : usage variations ***
H A Darray_change_key_case_variation4.phpt2 Test array_change_key_case() function : usage variations - different int values for $case
6 * Pass different integer values as $case argument to array_change_key_case() to test behaviour
9 echo "*** Testing array_change_key_case() : usage variations ***\n";
15 var_dump(array_change_key_case($temp, $i));
21 *** Testing array_change_key_case() : usage variations ***
H A Darray_change_key_case.phpt2 Test array_change_key_case() function
49 var_dump(array_change_key_case($item));
50 var_dump(array_change_key_case($item, CASE_UPPER));
51 var_dump(array_change_key_case($item, CASE_LOWER));
/PHP-8.2/ext/com_dotnet/tests/
H A Dbug39606.phpt9 $arEnv = array_change_key_case($_SERVER, CASE_UPPER);
H A Dbug77621.phpt10 $root = dirname(array_change_key_case($_SERVER, CASE_UPPER)['COMSPEC']);
/PHP-8.2/
H A DUPGRADING49 array_change_key_case and sorting with SORT_FLAG_CASE use ASCII case
/PHP-8.2/ext/standard/
H A Dbasic_functions.stub.php1073 function array_change_key_case(array $array, int $case = CASE_LOWER): array {} function
H A Dbasic_functions_arginfo.h2275 ZEND_FUNCTION(array_change_key_case);
2898 ZEND_SUPPORTS_COMPILE_TIME_EVAL_FE(array_change_key_case, arginfo_array_change_key_case)
H A Darray.c4499 PHP_FUNCTION(array_change_key_case) argument

Completed in 37 milliseconds