Home
last modified time | relevance | path

Searched refs:keys (Results 1 – 25 of 258) sorted by path

1234567891011

/php-src/.github/workflows/
H A Dnightly.yml32 restore-keys: |
/php-src/Zend/tests/
H A D019.phpt103 // get the keys of the $array_var
104 $keys = array_keys($array_var);
107 foreach ($keys as $key_value) {
H A Darray_unpack_string_keys.phpt2 Using array unpacking in an array literal that also has string keys (OSS-Fuzz #17965)
H A Dbug28072.phpt2 Bug #28072 (static array with some constant keys will be incorrectly ordered)
H A Dbug39449.phpt6 private $keys = array();
8 return $this->keys[$val];
11 $this->keys[$k] = $v;
H A Dbug45877.phpt7 $keys = array(PHP_INT_MAX,
13 var_dump(array_fill_keys($keys, 1));
H A Dbug55135.phpt2 Bug #55135 (Array keys are no longer type casted in unset())
H A Dbug60362.phpt2 Bug #60362: non-existent sub-sub keys should not have values
H A Dbug69893.phpt2 Bug #69893: Strict comparison between integer and empty string keys crashes
H A Dbug76800.phpt5 $arr = [1 => 1, 3 => 3]; // [1 => 1, 2 => 3] will print both keys
6 foreach($arr as $key => &$val) { // without & will print both keys
8 $arr[0] = 0; // without this line will print both keys
H A Dconst_array_with_resource_key.phpt2 Constexpr arrays should be able to handle resource keys
H A Ddim_assign_001.phpt19 $array[$char] = "Values can be stored correctly using numeric string keys";
24 string(56) "Values can be stored correctly using numeric string keys"
H A Dforeach_unset_globals.phpt2 traverse an array and use its keys to unset GLOBALS
H A Dgh11222.phpt2 GH-11222: foreach by-ref may jump over keys during a rehash
16 // observe the iteration jumping from key 1 to key 6, skipping keys 2 and 3
/php-src/Zend/tests/arg_unpack/
H A Dnon_integer_keys.phpt2 Argument unpacking does not work with non-integer keys
H A Dstring_keys.phpt2 Argument unpacking does not work with string keys (forward compatibility for named args)
/php-src/Zend/tests/array_unpack/
H A Dnon_integer_keys.phpt2 Array unpacking does not work with non-integer/string keys
H A Dstring_keys.phpt2 Array unpacking with string keys
H A Dunpack_string_keys_compile_time.phpt2 Unpacking of string keys is supported at compile-time
/php-src/Zend/tests/float_to_int/
H A Dno_warning_compatible_float_literals.phpt37 /* Strings are handled differently and always warn on non integer keys */
H A Dno_warning_compatible_string_float_literals.phpt28 /* Float string array keys are never normalized to an integer value */
29 /* Strings are handled differently and always warn on non integer keys */
/php-src/Zend/tests/generators/
H A Dauto_incrementing_keys.phpt2 Generator keys are auto-incrementing by default
H A Dgenerator_with_keys.phpt2 Generators can also yield keys
H A Dgenerator_with_nonscalar_keys.phpt2 Generators can return non-scalar keys
H A Dyield_array_key.phpt2 Array keys can be yielded from generators

Completed in 36 milliseconds

1234567891011