Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/tests/array/
H A Dextract_variation5.phpt14 foreach ( $mixed_array as $sub_array ) {
18 var_dump ( extract($sub_array)); /* Single Argument */
21 var_dump ( extract($sub_array, EXTR_OVERWRITE));
22 var_dump ( extract($sub_array, EXTR_SKIP));
23 var_dump ( extract($sub_array, EXTR_IF_EXISTS));
26 var_dump ( extract($sub_array, EXTR_PREFIX_INVALID, "ssd"));
27 var_dump ( extract($sub_array, EXTR_PREFIX_SAME, "sss"));
28 var_dump ( extract($sub_array, EXTR_PREFIX_ALL, "bb"));
29 var_dump ( extract($sub_array, EXTR_PREFIX_ALL, "")); // "_" taken as default prefix
30 var_dump ( extract($sub_array, EXTR_PREFIX_IF_EXISTS, "bb"));
H A Darsort_variation8.phpt73 ["sub_array[1][0]"]=>
80 ["sub_array[1][0]"]=>
89 ["sub_array[2][0] "]=>
121 ["sub_array[3][0]"]=>
130 ["sub_array[3][2]"]=>
137 ["sub_array[3][1]"]=>
142 ["sub_array[3][3]"]=>
149 ["sub_array[3][0]"]=>
158 ["sub_array[3][2]"]=>
165 ["sub_array[3][1]"]=>
[all …]
H A Dasort_variation8.phpt73 ["sub_array[1][0]"]=>
80 ["sub_array[1][0]"]=>
93 ["sub_array[2][0] "]=>
121 ["sub_array[3][3]"]=>
124 ["sub_array[3][1]"]=>
129 ["sub_array[3][2]"]=>
136 ["sub_array[3][0]"]=>
149 ["sub_array[3][3]"]=>
152 ["sub_array[3][1]"]=>
157 ["sub_array[3][2]"]=>
[all …]
H A Dextract_variation2.phpt15 foreach ( $mixed_array as $sub_array ) {
19 var_dump ( extract($sub_array)); /* Single Argument */
22 var_dump ( extract($sub_array, EXTR_OVERWRITE));
23 var_dump ( extract($sub_array, EXTR_SKIP));
24 var_dump ( extract($sub_array, EXTR_IF_EXISTS));
27 var_dump ( extract($sub_array, EXTR_PREFIX_INVALID, "ssd"));
28 var_dump ( extract($sub_array, EXTR_PREFIX_SAME, "sss"));
29 var_dump ( extract($sub_array, EXTR_PREFIX_ALL, "bb"));
30 var_dump ( extract($sub_array, EXTR_PREFIX_ALL, "")); // "_" taken as default prefix
31 var_dump ( extract($sub_array, EXTR_PREFIX_IF_EXISTS, "bb"));
H A Dextract_variation4.phpt15 foreach ( $mixed_array as $sub_array ) {
19 var_dump ( extract($sub_array)); /* Single Argument */
22 var_dump ( extract($sub_array, EXTR_OVERWRITE));
23 var_dump ( extract($sub_array, EXTR_SKIP));
24 var_dump ( extract($sub_array, EXTR_IF_EXISTS));
27 var_dump ( extract($sub_array, EXTR_PREFIX_INVALID, "ssd"));
28 var_dump ( extract($sub_array, EXTR_PREFIX_SAME, "sss"));
29 var_dump ( extract($sub_array, EXTR_PREFIX_ALL, "bb"));
30 var_dump ( extract($sub_array, EXTR_PREFIX_ALL, "")); // "_" taken as default prefix
31 var_dump ( extract($sub_array, EXTR_PREFIX_IF_EXISTS, "bb"));
H A Dextract_variation3.phpt15 foreach ( $mixed_array as $sub_array ) {
19 var_dump ( extract($sub_array)); /* Single Argument */
22 var_dump ( extract($sub_array, EXTR_OVERWRITE));
23 var_dump ( extract($sub_array, EXTR_SKIP));
24 var_dump ( extract($sub_array, EXTR_IF_EXISTS));
27 var_dump ( extract($sub_array, EXTR_PREFIX_INVALID, "ssd"));
28 var_dump ( extract($sub_array, EXTR_PREFIX_SAME, "sss"));
29 var_dump ( extract($sub_array, EXTR_PREFIX_ALL, "bb"));
30 var_dump ( extract($sub_array, EXTR_PREFIX_ALL, "")); // "_" taken as default prefix
31 var_dump ( extract($sub_array, EXTR_PREFIX_IF_EXISTS, "bb"));
H A Darsort_variation11.phpt16 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11),
17 "sub_array[2,3]" => array(22,-55), "sub_array[2,4]" => array()
45 ["sub_array[2,1]"]=>
54 ["sub_array[2,2]"]=>
59 ["sub_array[2,3]"]=>
66 ["sub_array[2,4]"]=>
102 ["sub_array[2,1]"]=>
111 ["sub_array[2,2]"]=>
116 ["sub_array[2,3]"]=>
123 ["sub_array[2,4]"]=>
H A Dasort_variation11.phpt16 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11),
17 "sub_array[2,3]" => array(22,-55), "sub_array[2,4]" => array()
70 ["sub_array[2,1]"]=>
79 ["sub_array[2,2]"]=>
84 ["sub_array[2,3]"]=>
91 ["sub_array[2,4]"]=>
127 ["sub_array[2,1]"]=>
136 ["sub_array[2,2]"]=>
141 ["sub_array[2,3]"]=>
148 ["sub_array[2,4]"]=>
H A Dkrsort_variation8.phpt17 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11),
18 "sub_array[2,3]" => array(22,-55), "sub_array[2,4]" => array()
48 ["sub_array[2,1]"]=>
57 ["sub_array[2,2]"]=>
62 ["sub_array[2,3]"]=>
69 ["sub_array[2,4]"]=>
105 ["sub_array[2,1]"]=>
114 ["sub_array[2,2]"]=>
119 ["sub_array[2,3]"]=>
126 ["sub_array[2,4]"]=>
H A Dksort_variation8.phpt16 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11),
17 "sub_array[2,3]" => array(22,-55), "sub_array[2,4]" => array()
68 ["sub_array[2,1]"]=>
77 ["sub_array[2,2]"]=>
82 ["sub_array[2,3]"]=>
89 ["sub_array[2,4]"]=>
125 ["sub_array[2,1]"]=>
134 ["sub_array[2,2]"]=>
139 ["sub_array[2,3]"]=>
146 ["sub_array[2,4]"]=>
H A D009.phpt29 foreach ($basic_arrays as $sub_array ) {
32 $c = count ($sub_array);
35 var_dump( current($sub_array)); // current element
36 var_dump( key($sub_array) ); // key of the current element
37 var_dump( next($sub_array) ); // move to next element
41 var_dump( key($sub_array) ); // access the array after reset
49 foreach ($varient_arrays as $sub_array ) {
52 $c = count ($sub_array);
55 var_dump( current($sub_array)); // current element
56 var_dump( key($sub_array) ); // key of the current element
[all …]
H A Darray_slice.phpt24 foreach ($var_array as $sub_array)
31 var_dump ( array_slice($sub_array, 1) );
32 var_dump ( array_slice($sub_array, 0) );
33 var_dump ( array_slice($sub_array, -2) );
38 var_dump ( array_slice($sub_array, 1, 3) );
39 var_dump ( array_slice($sub_array, 1, 0) );
40 var_dump ( array_slice($sub_array, 1, -3) );
41 var_dump ( array_slice($sub_array, 0, 3) );
42 var_dump ( array_slice($sub_array, 0, 0) );
43 var_dump ( array_slice($sub_array, 0, -3) );
[all …]
H A Darray_search_variation3.phpt7 $sub_array = array (
14 var_dump( array_search("four", $sub_array) );
16 var_dump( array_search(3, $sub_array[1]) );
17 var_dump( array_search(array('','i'), $sub_array) );
H A Din_array_variation3.phpt9 $sub_array = array (
16 var_dump( in_array("four", $sub_array) );
18 var_dump( in_array(3, $sub_array[1]) );
19 var_dump( in_array(array('','i'), $sub_array) );
H A Darray_push_variation3.phpt15 $sub_array = array('one', 'two');
16 var_dump(array_push($array, $sub_array));
H A Darray_pop.phpt32 foreach( $mixed_array as $sub_array )
35 var_dump( $sub_array );
37 var_dump( array_pop($sub_array) );
H A Darray_key_first.phpt31 foreach( $mixed_array as $sub_array )
34 var_dump( $sub_array );
36 var_dump( array_key_first($sub_array) );
H A Darray_key_last.phpt31 foreach( $mixed_array as $sub_array )
34 var_dump( $sub_array );
36 var_dump( array_key_last($sub_array) );
H A Darray_push.phpt42 foreach( $mixed_array as $sub_array )
45 var_dump( $sub_array );
47 var_dump( array_push($sub_array, 22, "abc") );
H A Dend_64bit.phpt31 foreach ($arrays as $sub_array){
33 var_dump( end($sub_array) );
35 var_dump( current($sub_array) );
H A Dend.phpt31 foreach ($arrays as $sub_array){
33 var_dump( end($sub_array) );
35 var_dump( current($sub_array) );
H A D005.phpt38 foreach( $mixed_array as $sub_array ) {
40 var_dump( $sub_array );
42 var_dump( array_shift($sub_array) );
/PHP-8.2/ext/standard/tests/strings/
H A Djoin_variation5.phpt10 $sub_array = array(array(1,2,3,4), array(1 => "one", 2 => "two"), "PHP", 50);
13 var_dump(join("TEST", $sub_array));
17 var_dump(join(array(1, 2, 3, 4), $sub_array));
23 var_dump(join(2, $sub_array));
25 // using directly the sub_array as pieces
26 var_dump(join(", ", $sub_array[0]));
27 var_dump(join(", ", $sub_array[1]));
H A Dimplode1.phpt67 $sub_array = array(array(1,2,3,4), array(1 => "one", 2 => "two"), "PHP", 50);
68 var_dump(implode("TEST", $sub_array));
70 var_dump(implode(array(1, 2, 3, 4), $sub_array));
75 var_dump( implode(2, $sub_array) );
/PHP-8.2/ext/exif/
H A Dexif.c2467 static void add_assoc_image_info(zval *value, int sub_array, image_info_type *image_info, int secti… in add_assoc_image_info() argument
2477 if (sub_array) { in add_assoc_image_info()
2620 if (sub_array) { in add_assoc_image_info()

Completed in 52 milliseconds