/PHP-5.6/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 | 79 ["sub_array[1][0]"]=> 86 ["sub_array[1][0]"]=> 95 ["sub_array[2][0] "]=> 127 ["sub_array[3][0]"]=> 136 ["sub_array[3][2]"]=> 143 ["sub_array[3][1]"]=> 148 ["sub_array[3][3]"]=> 155 ["sub_array[3][0]"]=> 164 ["sub_array[3][2]"]=> 171 ["sub_array[3][1]"]=> [all …]
|
H A D | asort_variation8.phpt | 79 ["sub_array[1][0]"]=> 86 ["sub_array[1][0]"]=> 99 ["sub_array[2][0] "]=> 127 ["sub_array[3][3]"]=> 130 ["sub_array[3][1]"]=> 135 ["sub_array[3][2]"]=> 142 ["sub_array[3][0]"]=> 155 ["sub_array[3][3]"]=> 158 ["sub_array[3][1]"]=> 163 ["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 | ksort_variation8.phpt | 21 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11), 22 "sub_array[2,3]" => array(22,-55), "sub_array[2,4]" => array() 69 ["sub_array[2,1]"]=> 78 ["sub_array[2,2]"]=> 83 ["sub_array[2,3]"]=> 90 ["sub_array[2,4]"]=> 126 ["sub_array[2,1]"]=> 135 ["sub_array[2,2]"]=> 140 ["sub_array[2,3]"]=> 147 ["sub_array[2,4]"]=>
|
H A D | arsort_variation11.phpt | 22 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11), 23 "sub_array[2,3]" => array(22,-55), "sub_array[2,4]" => array() 51 ["sub_array[2,1]"]=> 60 ["sub_array[2,2]"]=> 65 ["sub_array[2,3]"]=> 72 ["sub_array[2,4]"]=> 108 ["sub_array[2,1]"]=> 117 ["sub_array[2,2]"]=> 122 ["sub_array[2,3]"]=> 129 ["sub_array[2,4]"]=>
|
H A D | asort_variation11.phpt | 22 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11), 23 "sub_array[2,3]" => array(22,-55), "sub_array[2,4]" => array() 76 ["sub_array[2,1]"]=> 85 ["sub_array[2,2]"]=> 90 ["sub_array[2,3]"]=> 97 ["sub_array[2,4]"]=> 133 ["sub_array[2,1]"]=> 142 ["sub_array[2,2]"]=> 147 ["sub_array[2,3]"]=> 154 ["sub_array[2,4]"]=>
|
H A D | krsort_variation8.phpt | 22 "array2" => array ( "sub_array[2,1]" => array(33,-5,6), "sub_array[2,2]" => array(11), 23 "sub_array[2,3]" => array(22,-55), "sub_array[2,4]" => array() 59 ["sub_array[2,1]"]=> 68 ["sub_array[2,2]"]=> 73 ["sub_array[2,3]"]=> 80 ["sub_array[2,4]"]=> 116 ["sub_array[2,1]"]=> 125 ["sub_array[2,2]"]=> 130 ["sub_array[2,3]"]=> 137 ["sub_array[2,4]"]=>
|
H A D | array_slice.phpt | 44 foreach ($var_array as $sub_array) 51 var_dump ( array_slice($sub_array, 1) ); 52 var_dump ( array_slice($sub_array, 0) ); 53 var_dump ( array_slice($sub_array, -2) ); 58 var_dump ( array_slice($sub_array, 1, 3) ); 59 var_dump ( array_slice($sub_array, 1, 0) ); 60 var_dump ( array_slice($sub_array, 1, -3) ); 61 var_dump ( array_slice($sub_array, 0, 3) ); 62 var_dump ( array_slice($sub_array, 0, 0) ); 63 var_dump ( array_slice($sub_array, 0, -3) ); [all …]
|
H A D | array_search_variation3.phpt | 13 $sub_array = array ( 20 var_dump( array_search("four", $sub_array) ); 22 var_dump( array_search(3, $sub_array[1]) ); 23 var_dump( array_search(array('','i'), $sub_array) );
|
H A D | in_array_variation3.phpt | 16 $sub_array = array ( 23 var_dump( in_array("four", $sub_array) ); 25 var_dump( in_array(3, $sub_array[1]) ); 26 var_dump( in_array(array('','i'), $sub_array) );
|
H A D | 009.phpt | 35 foreach ($basic_arrays as $sub_array ) { 38 $c = count ($sub_array); 41 var_dump( current($sub_array)); // current element 42 var_dump( key($sub_array) ); // key of the current element 43 var_dump( next($sub_array) ); // move to next element 47 var_dump( key($sub_array) ); // access the array after reset 55 foreach ($varient_arrays as $sub_array ) { 58 $c = count ($sub_array); 61 var_dump( current($sub_array)); // current element 62 var_dump( key($sub_array) ); // key of the current element [all …]
|
H A D | array_push_variation3.phpt | 20 $sub_array = array('one', 'two'); 21 var_dump(array_push($array, $sub_array));
|
H A D | each.phpt | 27 while( list( $key, $sub_array) = each($arrays) ) { 29 $c = count ($sub_array); 33 var_dump( each($sub_array) ); 39 $new_array = $sub_array; 40 var_dump( each($sub_array) ); 50 list($key, $sub_array) = each($arrays); // now second element 51 var_dump( each($sub_array) );
|
H A D | array_pop.phpt | 34 foreach( $mixed_array as $sub_array ) 37 print_r( $sub_array ); 39 var_dump( array_pop($sub_array) );
|
H A D | array_push.phpt | 56 foreach( $mixed_array as $sub_array ) 59 print_r( $sub_array ); 61 var_dump( array_push($sub_array, 22, "abc") );
|
H A D | 005.phpt | 55 foreach( $mixed_array as $sub_array ) { 57 print_r( $sub_array ); 59 var_dump( array_shift($sub_array) );
|
H A D | end.phpt | 35 foreach ($arrays as $sub_array){ 37 var_dump( end($sub_array) ); 39 var_dump( current($sub_array) );
|
H A D | end_64bit.phpt | 35 foreach ($arrays as $sub_array){ 37 var_dump( end($sub_array) ); 39 var_dump( current($sub_array) );
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | join_variation5.phpt | 16 $sub_array = array(array(1,2,3,4), array(1 => "one", 2 => "two"), "PHP", 50); 19 var_dump( join("TEST", $sub_array) ); 22 var_dump( join(array(1, 2, 3, 4), $sub_array) ); 25 var_dump( join(2, $sub_array) ); 27 // using directly the sub_array as pieces 28 var_dump( join(", ", $sub_array[0]) ); 29 var_dump( join(", ", $sub_array[1]) );
|
H A D | implode1.phpt | 65 $sub_array = array(array(1,2,3,4), array(1 => "one", 2 => "two"), "PHP", 50); 66 var_dump( implode("TEST", $sub_array) ); 67 var_dump( implode(array(1, 2, 3, 4), $sub_array) ); 68 var_dump( implode(2, $sub_array) );
|
/PHP-5.6/ext/exif/ |
H A D | exif.c | 1939 static void add_assoc_image_info(zval *value, int sub_array, image_info_type *image_info, int secti… in add_assoc_image_info() argument 1954 if (sub_array) { in add_assoc_image_info() 2103 if (sub_array) { in add_assoc_image_info()
|