Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 63) sorted by relevance

123

/php-src/ext/standard/tests/array/
H A Dbug43495.phpt5 $a=array("key1"=>array("key2"=>array()));
6 $a["key1"]["key2"]["key3"]=&$a;
8 $b=array("key1"=>array("key2"=>array()));
9 $b["key1"]["key2"]["key3"]=&$b;
19 $a["key1"]["key2"]["key3"] = null;
20 $b["key1"]["key2"]["key3"] = null;
H A Darray_user_key_compare.phpt7 function array_compare(&$key1, &$key2)
9 $GLOBALS['a'] = &$key2;
10 unset($key2);
21 Warning: array_compare(): Argument #2 ($key2) must be passed by reference, value given in %s on lin…
H A Darray_intersect_ukey_basic.phpt8 function key_compare_func($key1, $key2) {
9 if ($key1 == $key2) return 0;
10 else if ($key1 > $key2) return 1;
H A Darray_diff_ukey_basic.phpt8 function key_compare_func($key1, $key2) {
9 if ($key1 == $key2) return 0;
10 else if ($key1 > $key2) return 1;
H A Darray_diff_uassoc_variation5.phpt12 function key_compare_func($key1, $key2)
14 if ($key1 === $key2) {
17 return ($key1 > $key2)? 1:-1;
H A Darray_merge_variation9.phpt17 $arr2 = array('key1' => 'val1', 'key2' => 'val2', 'key3' => 'val3');
44 ["key2"]=>
52 ["key2"]=>
74 ["key2"]=>
82 ["key2"]=>
H A Darray_intersect_ukey_variation9.phpt13 static function static_compare_func($key1, $key2) {
14 return strcasecmp($key1, $key2);
17 public function class_compare_func($key1, $key2) {
18 return strcasecmp($key1, $key2);
H A Darray_diff_uassoc_variation7.phpt11 function key_compare_func($key1, $key2)
13 if ($key1 === $key2) {
16 return ($key1 > $key2)? 1:-1;
H A Darray_intersect_ukey_variation6.phpt13 function key_compare_func($key1, $key2)
15 if ($key1 == $key2)
18 return ($key1 > $key2)? 1:-1;
H A Darray_diff_uassoc_variation6.phpt12 function key_compare_func($key1, $key2)
14 if ($key1 === $key2) {
17 return ($key1 > $key2)? 1:-1;
H A Darray_diff_uassoc_variation8.phpt12 function key_compare_func($key1, $key2)
14 if ($key1 === $key2) {
17 return ($key1 > $key2)? 1:-1;
H A Darray_key_exists_basic.phpt12 $key2 = 'val';
15 var_dump(array_key_exists($key2, $search));
H A Darray_intersect_ukey_variation5.phpt14 function key_compare_func($key1, $key2)
16 if ($key1 == $key2)
19 return ($key1 > $key2)? 1:-1;
H A Darray_intersect_ukey_variation7.phpt14 function key_compare_func($key1, $key2)
16 if ($key1 == $key2)
19 return ($key1 > $key2)? 1:-1;
/php-src/ext/spl/tests/
H A Dbug42654_2.phpt5 $data = array ('key1' => 'val1', array('key2' => 'val2'), 'key3' => 'val3');
12 case 'key2': // recursive level
22 update key2
28 ["key2"]=>
/php-src/ext/standard/tests/array/array_walk/
H A Dbug42850.phpt7 $data = array ('key1' => 'val1', array('key2' => 'val2'));
32 ["key2"]=>
41 ["key2"]=>
56 ["key2"]=>
/php-src/ext/standard/tests/general_functions/
H A Ddebug_zval_dump_o.phpt133 ["key2 "]=>
164 ["key2 "]=>
184 ["key2 "]=>
204 ["key2 "]=>
224 ["key2 "]=>
250 ["key2 "]=>
270 ["key2 "]=>
295 ["key2 "]=>
315 ["key2 "]=>
346 ["key2 "]=>
[all …]
/php-src/ext/dba/tests/
H A Ddba_lmdb_flags.phpt28 dba_insert("key2", "Content String 2", $db_file);
51 dba_replace("key2", "Content 2 replaced", $db_file);
52 echo dba_fetch("key2", $db_file), \PHP_EOL;
67 key2: Content String 2
H A Ddba_dbm.phpt28 key2: Content String 2
41 Fetch "key2": Content 2 replaced 2nd time
46 ["key2"]=>
H A Ddba_qdbm.phpt40 key2: Content String 2
60 Fetch "key2": Content 2 replaced 2nd time
71 ["key2"]=>
86 key2: Content String 2
106 Fetch "key2": Content 2 replaced 2nd time
115 ["key2"]=>
H A Ddba_gdbm.phpt40 key2: Content String 2
60 Fetch "key2": Content 2 replaced 2nd time
71 ["key2"]=>
86 key2: Content String 2
106 Fetch "key2": Content 2 replaced 2nd time
115 ["key2"]=>
H A Ddba_lmdb.phpt42 key2: Content String 2
62 Fetch "key2": Content 2 replaced 2nd time
73 ["key2"]=>
90 key2: Content String 2
110 Fetch "key2": Content 2 replaced 2nd time
119 ["key2"]=>
H A Ddba_ndbm.phpt41 key2: Content String 2
61 Fetch "key2": Content 2 replaced 2nd time
72 ["key2"]=>
87 key2: Content String 2
107 Fetch "key2": Content 2 replaced 2nd time
116 ["key2"]=>
H A Ddba_db4_018.phpt36 dba_insert("key2", "This is a test insert 2", $db_file2);
38 echo dba_fetch("key2", $db_file2), "\n";
43 echo dba_fetch("key2", $db_file1), "\n";
56 echo dba_fetch("key2", $db_file1), "\n";
H A Ddba015.phpt36 dba_insert("key2", "This is a test insert 2", $db_file2);
38 echo dba_fetch("key2", $db_file2), "\n";
43 echo dba_fetch("key2", $db_file1), "\n";
56 echo dba_fetch("key2", $db_file1), "\n";

Completed in 22 milliseconds

123