Home
last modified time | relevance | path

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

12345678910>>...13

/PHP-7.4/
H A DNEWS1810 . Fixed bug #78612 (strtr leaks memory when integer keys are used and the
/PHP-7.4/Zend/tests/
H A D019.phpt113 // get the keys of the $array_var
114 $keys = array_keys($array_var);
117 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 Dforeach_unset_globals.phpt2 traverse an array and use its keys to unset GLOBALS
H A Dlist_keyed.phpt2 list() with keys
H A Dlist_keyed_ArrayAccess.phpt2 list() with keys and ArrayAccess
H A Dlist_keyed_conversions.phpt2 list() with non-integer-or-string keys
H A Dlist_keyed_evaluation_order.phpt2 list() with keys, evaluation order
/PHP-7.4/Zend/tests/arg_unpack/
H A Dnon_integer_keys.phpt2 Argument unpacking does not work with non-integer keys
21 Exception: Cannot unpack Traversable with non-integer keys
H A Dstring_keys.phpt2 Argument unpacking does not work with string keys (forward compatibility for named args)
23 string(36) "Cannot unpack array with string keys"
24 string(42) "Cannot unpack Traversable with string keys"
/PHP-7.4/Zend/tests/array_unpack/
H A Dnon_integer_keys.phpt2 Array unpacking does not work with non-integer keys
17 Exception: Cannot unpack Traversable with non-integer keys
H A Dstring_keys.phpt2 array unpacking with string keys (not supported)
20 string(36) "Cannot unpack array with string keys"
21 string(42) "Cannot unpack Traversable with string keys"
H A Dunpack_string_keys_compile_time.phpt2 Unpacking of string keys detected at compile-time
10 Fatal error: Cannot unpack array with string keys in %s on line %d
/PHP-7.4/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 55 milliseconds

12345678910>>...13