/php-src/ext/standard/tests/array/ |
H A D | bug70668.phpt | 2 Bug #70668 (array_keys() doesn't respect references when $strict is true) 8 var_dump(array_keys($arr, $s, true)); 11 var_dump(array_keys($arr, $s, true)); 14 var_dump(array_keys($arr, $s, true)); 17 var_dump(array_keys($arr, $s, true)); 20 var_dump(array_keys($arr, $s, true)); 23 var_dump(array_keys($arr, $s, true)); 26 var_dump(array_keys($arr, $s, true)); 29 var_dump(array_keys($arr, $s, true));
|
H A D | array_keys_variation_005.phpt | 2 Test array_keys() function (variation - 5) 6 echo "\n*** Testing array_keys() with resource type ***\n"; 13 var_dump(array_keys($arr_resource, $resource1)); // loose type checking 14 var_dump(array_keys($arr_resource, $resource1, TRUE)); // strict type checking 15 var_dump(array_keys($arr_resource, $resource2)); // loose type checking 16 var_dump(array_keys($arr_resource, $resource2, TRUE)); // strict type checking 24 *** Testing array_keys() with resource type ***
|
H A D | array_keys_variation_002.phpt | 2 Test array_keys() function (variation - 2) 6 echo "\n*** Testing array_keys() on an array created on the fly ***\n"; 7 var_dump(array_keys(array("a" => 1, "b" => 2, "c" => 3))); 8 var_dump(array_keys(array())); // null array 13 *** Testing array_keys() on an array created on the fly ***
|
H A D | array_keys_basic.phpt | 2 Test array_keys() function (basic) 6 echo "*** Testing array_keys() on basic array operation ***\n"; 9 var_dump(array_keys($basic_arr)); 14 *** Testing array_keys() on basic array operation ***
|
H A D | array_keys_variation_004.phpt | 2 Test array_keys() function (variation - 4) 6 echo "*** Testing array_keys() on all the types other than arrays ***\n"; 23 var_dump(array_keys($types_arr, $value, TRUE)); 29 *** Testing array_keys() on all the types other than arrays ***
|
H A D | array_keys_variation_001.phpt | 2 Test array_keys() function (variation - 1) 6 echo "\n*** Testing array_keys() on various arrays ***"; 23 /* loop through to test array_keys() with different arrays */ 26 var_dump(array_keys($array)); 33 *** Testing array_keys() on various arrays ***
|
H A D | array_keys_variation_003.phpt | 2 Test array_keys() function (variation - 3) 6 echo "*** Testing array_keys() on all the types other than arrays ***\n"; 24 var_dump(array_keys($types_arr, $value)); 30 *** Testing array_keys() on all the types other than arrays ***
|
H A D | array_keys_on_GLOBALS.phpt | 2 Using array_keys() on $GLOBALS 8 var_dump(in_array('foo', array_keys($GLOBALS)));
|
H A D | packed_001.phpt | 2 array_keys() and array_values() w/ packed optimization 19 print_r(array_keys($input));
|
H A D | bug24766.phpt | 11 $k = array_keys($a); 12 $l = array_keys($b);
|
H A D | bug69674.phpt | 5 var_dump(current(array_keys(array())));
|
/php-src/Zend/tests/named_params/ |
H A D | missing_param.phpt | 16 array_keys(strict: true); 22 array_keys([], strict: true); 28 var_dump(array_keys([41, 42], filter_value: 42, strict: true)); 33 array_keys(): Argument #1 ($array) not passed 34 array_keys(): Argument #2 ($filter_value) must be passed explicitly, because the default value is n…
|
/php-src/ext/spl/tests/ |
H A D | bug62433.phpt | 5 $dots = array_keys(iterator_to_array(new RecursiveDirectoryIterator(__DIR__))); 6 $ndots = array_keys(iterator_to_array(new RecursiveDirectoryIterator(__DIR__, FilesystemIterator::S…
|
/php-src/ext/opcache/tests/opt/ |
H A D | gh10801.phpt | 12 print_r(array_keys(array: [1 => 1], strict: true, filter_value: 0)); 14 print_r(array_keys(array: [1 => 1], filter_value: 0, strict: true));
|
/php-src/ext/date/tests/ |
H A D | bug51819.phpt | 10 foreach (array_keys($aTzAbbr) as $sKey) { 11 foreach (array_keys($aTzAbbr[$sKey]) as $iIndex) {
|
/php-src/ext/standard/tests/strings/ |
H A D | str_replace_array_refs2.phpt | 19 var_dump(str_replace(array_keys($obj->prop), $obj->prop, "x property")); 23 var_dump(str_replace(array_keys($array), $array, "x property"));
|
H A D | str_replace_array_refs.phpt | 11 var_dump(str_replace(array_keys($data), $data, "a numeric"));
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | pickArrayKeys.phpt | 49 if (array_diff($result, array_keys($array1)) !== []) { 59 if (array_diff($result, array_keys($array2)) !== []) { 69 if (array_diff($result, array_keys($array3)) !== []) {
|
/php-src/ext/standard/tests/image/ |
H A D | bug71848.phpt | 6 var_dump(array_keys($info));
|
/php-src/ext/opcache/tests/jit/ |
H A D | fetch_dim_func_args_001.phpt | 15 $config['keys'] = array_keys($config["a"]);;
|
/php-src/ext/reflection/tests/ |
H A D | bug38132.phpt | 12 var_dump($properties, array_keys($properties));
|
/php-src/ext/mbstring/tests/ |
H A D | hz_encoding.phpt | 58 $goodChars = array_keys($toUnicode); 78 $badChars = array_keys($invalid); 82 $goodChars = array_keys($toUnicode); 92 $truncatedChars = array_keys($truncated); 106 $badChars = array_keys($invalid); 110 $goodChars = array_keys($fromUnicode);
|
H A D | encoding_tests.inc | 135 $goodChars = array_keys($charMap); 165 $badChars = array_keys($badChars); 169 $goodChars = array_keys($charMap); 181 $badChars = array_keys($badChars); 185 $goodChars = array_keys($charMap); 197 $truncatedChars = array_keys($truncated);
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_driver_interface.phpt | 35 $variables = array_keys(get_class_vars(get_class($driver))); 42 $variables = array_keys(get_object_vars($driver));
|
/php-src/Zend/tests/ |
H A D | bug64555.phpt | 24 var_dump($a, array_keys($a));
|