note 40050 added to control-structures.break
| From: | (patbateman1981@hotmail.com) | Date: | Thu, 19 Feb 2004 22:47:13 +0000 |
| Subject: | note 40050 added to control-structures.break | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65429@lists.php.net to get a copy of this message | ||
Paid attention: that's obviously a consequence, because it's stupid break the last case.
It's ALREADY the last, there aren't possibility after.
But, if you place "default" case at the top of the switch statement, break instruction has
the same role as usual.
----
Manual Page -- http://www.php.net/manual/en/control-structures.break.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40050
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40050&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40050&report=yes
Search -- http://master.php.net/manage/user-notes.php