note 60163 deleted from control-structures.switch by nlopess

From: Date: Wed, 28 Dec 2005 16:34:14 +0000
Subject: note 60163 deleted from control-structures.switch by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100869@lists.php.net to get a copy of this message
Note Submitter: ---- Just a short question. I often see things like this in OpenSource <?php ... case x: ... return $var; break; case y: ... ?> Is the break really needed? the return is like a break with a returning variable, isn't it?

« previous php.notes (#100869) next »