Lines Matching refs:sub_array
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
46 var_dump( reset($sub_array) ); // reset the internal pointer to first element
47 var_dump( key($sub_array) ); // access the array after reset
48 var_dump( $sub_array ); // dump the array to see that its intact
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
63 var_dump( next($sub_array) ); // move to next element
66 var_dump( reset($sub_array) ); // reset the internal pointer to first element
67 var_dump( key($sub_array) ); // access the array after reset
68 var_dump( $sub_array ); // dump the array to see that its intact