Home
last modified time | relevance | path

Searched refs:key (Results 1126 – 1144 of 1144) sorted by last modified time

1...<<414243444546

/PHP-5.5/Zend/tests/
H A Dns_039.phpt9 foreach ($a as $key => $val) {
10 echo "$key\n";
H A Dforeach_list_001.phpt29 foreach ($multi as $key => list(list($a, $b), list($c, $d))) {
30 var_dump($key . $a . $b . $c . $d);
H A Dforeach_list_003.phpt2 foreach with list key
8 foreach($array as list($key) => list(list(), $a)) {
13 Fatal error: Cannot use list as key element in %sforeach_list_003.php on line %d
H A Dforeach_list_004.phpt8 foreach($array as $key => list()) {
H A Dbug62680.phpt2 Bug #62680 (Function isset() throws fatal error on set array if non-existent key depth >= 3)
H A Dbug49269.phpt14 function key() { }
H A Dbug53347.phpt8 public static function isValidFormatCode( $type, $key )
10 return isset( self::${$type}[$key] );
H A Dbug60362.phpt14 echo "sub-key 1 is set: ";
17 echo "sub-key 1 is not set.\n";
22 echo "sub-key 'sub_sub' is set: ";
28 echo "sub-sub-key 0 is set: ";
42 echo "sub-key 1 is empty.\n";
44 echo "sub-key 1 is not empty: ";
63 sub-key 'non_existent' is not set.
64 sub-key 1 is set: string(1) "o"
66 sub-sub-key 'sub_sub' is not set.
69 sub-key 'non_existent' is empty.
[all …]
H A Dbug45877.phpt2 Bug #45877 (Array key '2147483647' left as string)
H A Dbug35509.phpt2 Bug #35509 (string constant as array key has different behavior inside object)
H A Dbug37715.phpt21 var_dump(key($a['b']));
26 var_dump(key($a['b']));
H A Dbug38146.phpt13 foreach($f->bar as $key => $value) {
14 print "$key => $value\n";
H A Dbug41372.phpt7 echo key($Foo),"\n";
9 echo key($Foo),"\n";
H A Dbug27598.phpt2 Bug #27598 (list() array key assignment causes HUGE memory leak)
H A Dbug32993.phpt11 public function key() { return key($this->arr); }
/PHP-5.5/Zend/tests/generators/
H A Dyield_array_key.phpt11 var_dump($gen->key());
H A Dyield_by_reference.phpt7 foreach ($array as $key => &$value) {
8 yield $key => $value;
H A Dgenerator_method_by_ref.phpt18 foreach ($this->data as $key => &$value) {
19 yield $key => $value;
H A Dgenerator_with_keys.phpt8 while (null !== $key = key($array)) {
9 yield $key => current($array);
19 foreach (reverse($array) as $key => $value) {
20 echo $key, ' => ', $value, "\n";

Completed in 17 milliseconds

1...<<414243444546