Lines Matching refs:sub_array
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
40 var_dump( reset($sub_array) ); // reset the internal pointer to first element
41 var_dump( key($sub_array) ); // access the array after reset
42 var_dump( $sub_array ); // dump the array to see that its intact
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
57 var_dump( next($sub_array) ); // move to next element
60 var_dump( reset($sub_array) ); // reset the internal pointer to first element
61 var_dump( key($sub_array) ); // access the array after reset
62 var_dump( $sub_array ); // dump the array to see that its intact