note 109742 deleted from control-structures.switch by danbrown

From: Date: Fri, 31 Aug 2012 15:57:21 +0000
Subject: note 109742 deleted from control-structures.switch by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-190355@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- Regarding [Anonymous 27-Mar-2012 11:34]: 1 and any greater integer is taken as true, so of course for all loops every case is executed, as it isn't stopped after first case with "break;". Output is from test_1 to test_9.

« previous php.notes (#190355) next »