note 113787 added to control-structures.switch
| From: | novicephp' | Date: | Sun, 01 Dec 2013 10:17:15 +0000 |
| Subject: | note 113787 added to control-structures.switch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197685@lists.php.net to get a copy of this message | ||
I 'borrowed' the Chinese Zodiac code posted earlier (last year). Thanks it's going
to be handy
.. But it probably needs the 'break;' added at the end of each case statement .. I think
that's true?!
Might be obvious, but just thought I'd mention it.
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/control-structures.switch.php
Edit -- https://master.php.net/note/edit/113787
Del: integrated -- https://master.php.net/note/delete/113787/integrated
Del: useless -- https://master.php.net/note/delete/113787/useless
Del: bad code -- https://master.php.net/note/delete/113787/bad+code
Del: spam -- https://master.php.net/note/delete/113787/spam
Del: non-english -- https://master.php.net/note/delete/113787/non-english
Del: in docs -- https://master.php.net/note/delete/113787/in+docs
Del: other reasons-- https://master.php.net/note/delete/113787
Reject -- https://master.php.net/note/reject/113787
Search -- https://master.php.net/manage/user-notes.php