note 46451 deleted from control-structures.switch by peehaa

From: Date: Mon, 02 Dec 2013 09:10:38 +0000
Subject: note 46451 deleted from control-structures.switch by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-197694@lists.php.net to get a copy of this message
Note Submitter: tom AT csbanana DOT com ---- If you're using switch() inside a function and you're returning a $var inside each case, you won't need to include break() as return() will end the execution of the switch and function.

« previous php.notes (#197694) next »