note 13857 added to control-structures.continue.php

From: Date: Fri, 06 Jul 2001 15:16:43 +0000
Subject: note 13857 added to control-structures.continue.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15043@lists.php.net to get a copy of this message
a switch statement counts as a loop for continue. so, to use continue inside of a switch which is inside of a loop, you must use continue 2 to effect the loop and not the switch. http://www.php.net/manual/en/control-structures.continue.php

« previous php.notes (#15043) next »