Home
last modified time | relevance | path

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

/PHP-8.0/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_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_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";
88 // loop through each sub-array of $inputs to check the behavior of array_change_key_case()
92 var_dump( array_change_key_case($input, CASE_UPPER) );
99 *** 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.0/ext/com_dotnet/tests/
H A Dbug39606.phpt10 $arEnv = array_change_key_case($_SERVER, CASE_UPPER);
H A Dbug77621.phpt12 $root = dirname(array_change_key_case($_SERVER, CASE_UPPER)['COMSPEC']);
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php172 function array_change_key_case(array $array, int $case = CASE_LOWER): array {} function
H A Dbasic_functions_arginfo.h2284 ZEND_FUNCTION(array_change_key_case);
2909 ZEND_FE(array_change_key_case, arginfo_array_change_key_case)
H A Darray.c4403 PHP_FUNCTION(array_change_key_case) argument

Completed in 157 milliseconds