Home
last modified time | relevance | path

Searched refs:array_fill_keys (Results 1 – 10 of 10) sorted by relevance

/PHP-8.0/ext/standard/tests/array/
H A Darray_fill_keys_variation4.phpt2 Test array_fill_keys() function : variation of parameter
24 var_dump( array_fill_keys($array, $float) );
27 var_dump( array_fill_keys($array, $nullVal) );
30 var_dump( array_fill_keys($array, $obj) );
33 var_dump( array_fill_keys($array, $bool) );
36 var_dump( array_fill_keys($array, $fp) );
39 var_dump( array_fill_keys($array, $unset_var) );
47 -- Testing array_fill_keys() function with float --
53 -- Testing array_fill_keys() function with null --
59 -- Testing array_fill_keys() function with object --
[all …]
H A Darray_fill_keys_variation1.phpt2 Test array_fill_keys() function : variation of parameter
5 echo "*** Testing array_fill_keys() : parameter variations ***\n";
21 var_dump( array_fill_keys($emptyArr, $nullVal) );
23 echo "\n-- Testing array_fill_keys() function with keyed array --\n";
25 var_dump( array_fill_keys($keyedArray, $simpleStr) );
27 echo "\n-- Testing array_fill_keys() function with mixed array --\n";
29 var_dump( array_fill_keys($mixedArray, $simpleStr) );
35 *** Testing array_fill_keys() : parameter variations ***
37 -- Testing array_fill_keys() function with empty arguments --
41 -- Testing array_fill_keys() function with keyed array --
[all …]
H A Darray_fill_keys_variation2.phpt2 Test array_fill_keys() function : variation of parameter
7 echo "*** Testing array_fill_keys() : parameter variations ***\n";
23 echo "\n-- Testing array_fill_keys() function with reference value --\n";
25 var_dump(array_fill_keys($keyedArray, $refString));
27 echo "\n-- Testing array_fill_keys() function with reference keys --\n";
29 $res = array_fill_keys($refKeys, $simpleStr);
38 var_dump(array_fill_keys($refArray, $simpleStr));
44 *** Testing array_fill_keys() : parameter variations ***
46 -- Testing array_fill_keys() function with reference value --
54 -- Testing array_fill_keys() function with reference keys --
[all …]
H A Darray_fill_keys.phpt2 basic array_fill_keys test
7 var_dump(array_fill_keys(array(), 1));
8 var_dump(array_fill_keys(array('foo', 'bar'), NULL));
9 var_dump(array_fill_keys(array('5', 'foo', 10, 1.23), 123));
10 var_dump(array_fill_keys(array('test', TRUE, 10, 100), ''));
H A Darray_fill_keys_variation3.phpt2 Test array_fill_keys() function : variation of parameter
7 echo "*** Testing array_fill_keys() : parameter variations ***\n";
12 echo "\n-- Testing array_fill_keys() function with unusual second arguments --\n";
13 var_dump( array_fill_keys($array, $fp) );
19 *** Testing array_fill_keys() : parameter variations ***
21 -- Testing array_fill_keys() function with unusual second arguments --
/PHP-8.0/Zend/tests/
H A Dbug45877.phpt13 var_dump(array_fill_keys($keys, 1));
/PHP-8.0/ext/openssl/tests/
H A Dopenssl_error_string_basic.phpt9 $expected_errors = array_fill_keys($expected_error_codes, false);
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php126 function array_fill_keys(array $keys, mixed $value): array {} function
H A Dbasic_functions_arginfo.h2263 ZEND_FUNCTION(array_fill_keys);
2888 ZEND_FE(array_fill_keys, arginfo_array_fill_keys)
H A Darray.c2671 PHP_FUNCTION(array_fill_keys) argument

Completed in 56 milliseconds