Changes between Initial Version and Version 1 of Ticket #40393, comment 4
- Timestamp:
- 07/21/2017 08:38:52 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #40393, comment 4
initial v1 15 15 while ( current( $iteration ) < $current ) { 16 16 $next = next( $iteration ); 17 if ( $next > $current ) { 17 if ( false === $next ) { 18 break; 19 } elseif ( $next > $current ) { 18 20 // The current key has gone away. Point 19 21 // to the previous key so it's grabbed 20 22 // on the next iteration 21 23 prev( $iteration ); 22 break;23 } elseif ( false === $next ) {24 24 break; 25 25 }