Home
last modified time | relevance | path

Searched refs:array (Results 251 – 275 of 5824) sorted by relevance

1...<<11121314151617181920>>...233

/PHP-8.1/ext/standard/tests/array/
H A Darray_splice_variation3.phpt77 array(2) {
83 array(4) {
94 array(2) {
100 array(7) {
118 array(2) {
124 array(4) {
135 array(2) {
141 array(7) {
159 array(2) {
165 array(4) {
[all …]
H A Darray_intersect_key_variation8.phpt8 $array1 = array(
12 'second' => array('yellow' => 7),
14 'third' => array(0 =>'zero'),
17 $array2 = array (
23 'fourth' => array(2 => 'two'),
30 array(2) {
32 array(2) {
39 array(1) {
44 array(2) {
46 array(2) {
[all …]
H A Darray_diff_assoc_variation3.phpt11 $array = array(1, 2, 3);
112 array(4) {
124 array(5) {
138 array(2) {
146 array(3) {
156 array(2) {
164 array(3) {
174 array(2) {
182 array(1) {
189 array(1) {
[all …]
H A Darray_unshift_variation5.phpt96 array(1) {
101 array(3) {
111 array(2) {
118 array(4) {
130 array(2) {
137 array(4) {
149 array(5) {
162 array(7) {
180 array(2) {
187 array(4) {
[all …]
H A Darray_intersect_1.phpt67 $a=array (
94 $b=array (
122 array(3) {
147 $a=array (
174 $b=array (
202 array(2) {
220 $a=array (
247 $b=array (
275 array(2) {
293 $a=array (
[all …]
H A Darray_diff_key_variation8.phpt8 $array1 = array(
10 'first' => array('blue' => 1, 'red' => 2),
12 'second' => array('yellow' => 7),
14 'third' => array(0 => 'zero'),
17 $array2 = array (
21 'second' => array('cyan' => 8),
23 'fourth' => array(2 => 'two'),
34 array(1) {
36 array(1) {
41 array(1) {
[all …]
H A Darray_diff_ukey_variation5.phpt8 $array1 = array(
10 'first' => array('blue' => 1, 'red' => 2),
12 'second' => array('yellow' => 7),
14 'third' => array(0 => 'zero'),
17 $array2 = array (
21 'second' => array('cyan' => 8),
23 'fourth' => array(2 => 'two'),
34 array(1) {
36 array(1) {
41 array(1) {
[all …]
H A Darsort_variation11.phpt16 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11),
42 array(13) {
44 array(4) {
46 array(3) {
55 array(1) {
60 array(2) {
67 array(0) {
71 array(0) {
99 array(13) {
101 array(4) {
[all …]
H A Dasort_variation11.phpt16 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11),
42 array(13) {
66 array(0) {
69 array(4) {
71 array(3) {
80 array(1) {
85 array(2) {
92 array(0) {
99 array(13) {
123 array(0) {
[all …]
H A Dkrsort_variation8.phpt17 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11),
43 array(13) {
51 array(4) {
53 array(3) {
62 array(1) {
67 array(2) {
74 array(0) {
78 array(0) {
100 array(13) {
108 array(4) {
[all …]
H A Dksort_variation8.phpt16 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11),
42 array(13) {
56 array(0) {
59 array(4) {
61 array(3) {
70 array(1) {
75 array(2) {
82 array(0) {
99 array(13) {
113 array(0) {
[all …]
H A Darray_diff_assoc_variation9.phpt12 $array1 = array('sub_array1' => array (1, 2, 3),
14 $array2 = array('sub_arraya' => array (1, 3, 5),
36 array(2) {
38 array(3) {
56 array(2) {
78 array(2) {
84 array(2) {
90 array(2) {
96 array(3) {
106 array(3) {
[all …]
H A Darray_unshift_variation4.phpt98 array(1) {
103 array(3) {
113 array(2) {
120 array(4) {
132 array(2) {
139 array(4) {
151 array(5) {
164 array(7) {
182 array(5) {
195 array(7) {
[all …]
H A Duasort_variation4.phpt26 // Int array
32 // Octal array
38 // Hexadecimal array
44 // Float array
50 // empty array
51 $empty_array = array();
62 array(9) {
84 array(7) {
102 array(6) {
118 array(7) {
[all …]
/PHP-8.1/Zend/tests/
H A Dbug62653.phpt2 Bug #62653: unset($array[$float]) causes a crash
5 $array = array("5"=>"bar");
8 unset($array[$foo]);
9 print_r($array);
11 $array = array("5"=>"bar");
13 unset($array[(float)$foo]);
14 print_r($array);
16 $array = array("5"=>"bar");
20 unset($array[$$name]);
21 print_r($array);
H A Dcall_user_func_array_prefer_ref.phpt14 $array = [3, 2, 1];
16 var_dump($array);
17 unset($array);
30 var_dump($array);
31 unset($array);
36 array(1) {
38 array(3) {
47 array(3) {
55 array(1) {
57 array(3) {
[all …]
H A Dforeach_list_001.phpt6 foreach(array(array(1,2), array(3,4)) as list($a, $b)) {
10 $array = array(
11 array('a', 'b'),
12 array('c', 'd'),
15 foreach ($array as list($a, $b)) {
20 $multi = array(
21 array(array(1,2), array(3,4)),
22 array(array(5,6), array(7,8)),
/PHP-8.1/ext/filter/tests/
H A D038.phpt2 Test scalar, array
9 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL));
12 $var = array(12);
13 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL));
26 $var = array(12);
30 $var = array(12);
34 $var = array(12);
42 array(1) {
47 array(1) {
51 array(1) {
[all …]
/PHP-8.1/ext/pcre/tests/
H A Dbug79257.phpt32 array(3) {
40 array(4) {
50 array(3) {
52 array(2) {
59 array(2) {
66 array(2) {
73 array(4) {
103 array(6) {
117 array(6) {
131 array(6) {
[all …]
/PHP-8.1/ext/tokenizer/tests/
H A Dtoken_get_all_variation7.phpt28 array(29) {
30 array(3) {
40 array(3) {
49 array(3) {
60 array(3) {
69 array(3) {
80 array(3) {
89 array(3) {
98 array(3) {
109 array(3) {
[all …]
/PHP-8.1/tests/lang/
H A DforeachLoop.013.phpt75 array(1) {
82 array(0) {
87 array(2) {
96 array(1) {
103 array(3) {
115 array(1) {
122 array(4) {
136 array(2) {
148 array(1) {
155 array(0) {
[all …]
H A DforeachLoop.015.phpt77 array(1) {
84 array(0) {
89 array(2) {
98 array(1) {
105 array(3) {
117 array(1) {
124 array(4) {
138 array(2) {
150 array(1) {
157 array(0) {
[all …]
H A DforeachLoop.004.phpt7 $v=array();
16 $v=array();
24 array(1) {
28 array(1) {
32 array(1) {
36 array(3) {
44 array(1) {
50 array(1) {
55 array(1) {
60 array(1) {
[all …]
/PHP-8.1/tests/classes/
H A Diterators_006.phpt2 ZE2 iterators and array wrapping
8 private $array;
11 $this->array = array('foo', 'bar', 'baz');
15 reset($this->array);
34 next($this->array);
45 $array = new a();
51 #$array = $array->getIterator();
52 #$array->rewind();
53 #$array->valid();
54 #var_dump($array->key());
[all …]
/PHP-8.1/ext/standard/tests/strings/
H A Dbasename_basic.phpt5 $file_paths = array (
7 array("bar"),
8 array("/foo/bar"),
9 array("foo/bar"),
10 array("/bar"),
13 array("bar/"),
14 array("/bar/"),
15 array("/foo/bar/"),
16 array("foo/bar/"),
17 array("/bar/"),
[all …]

Completed in 42 milliseconds

1...<<11121314151617181920>>...233