/PHP-8.3/ext/standard/tests/array/ |
H A D | extract_variation5.phpt | 14 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 D | arsort_variation8.phpt | 73 ["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 D | asort_variation8.phpt | 73 ["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 D | extract_variation2.phpt | 15 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 D | extract_variation4.phpt | 15 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 D | extract_variation3.phpt | 15 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 D | krsort_variation8.phpt | 17 "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 D | ksort_variation8.phpt | 16 "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 D | arsort_variation11.phpt | 16 "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 D | asort_variation11.phpt | 16 "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 D | 009.phpt | 29 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 D | array_slice.phpt | 24 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 D | array_search_variation3.phpt | 7 $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 D | in_array_variation3.phpt | 9 $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 D | array_push_variation3.phpt | 15 $sub_array = array('one', 'two'); 16 var_dump(array_push($array, $sub_array));
|
H A D | array_key_first.phpt | 31 foreach( $mixed_array as $sub_array ) 34 var_dump( $sub_array ); 36 var_dump( array_key_first($sub_array) );
|
H A D | array_key_last.phpt | 31 foreach( $mixed_array as $sub_array ) 34 var_dump( $sub_array ); 36 var_dump( array_key_last($sub_array) );
|
H A D | array_pop.phpt | 32 foreach( $mixed_array as $sub_array ) 35 var_dump( $sub_array ); 37 var_dump( array_pop($sub_array) );
|
H A D | end_64bit.phpt | 31 foreach ($arrays as $sub_array){ 33 var_dump( end($sub_array) ); 35 var_dump( current($sub_array) );
|
H A D | array_push.phpt | 42 foreach( $mixed_array as $sub_array ) 45 var_dump( $sub_array ); 47 var_dump( array_push($sub_array, 22, "abc") );
|
H A D | end.phpt | 31 foreach ($arrays as $sub_array){ 33 var_dump( end($sub_array) ); 35 var_dump( current($sub_array) );
|
H A D | 005.phpt | 38 foreach( $mixed_array as $sub_array ) { 40 var_dump( $sub_array ); 42 var_dump( array_shift($sub_array) );
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | join_variation5.phpt | 10 $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 D | implode1.phpt | 67 $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.3/ext/exif/ |
H A D | exif.c | 2455 static void add_assoc_image_info(zval *value, int sub_array, image_info_type *image_info, int secti… in add_assoc_image_info() argument 2465 if (sub_array) { in add_assoc_image_info() 2608 if (sub_array) { in add_assoc_image_info()
|