Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- foreach( $items as $item ){
- if ( ! $item['name'] )
- continue;
- print $item['name'];
- // more code
- // and stuff going on here
- // and here
- }
- // Is the same as...
- foreach( $items as $item ){
- if ( $item['name'] ){
- print $item['name'];
- // more code
- // and stuff going on here
- // and here
- }
- }
Add Comment
Please, Sign In to add comment