note 34412 added to control-structures.break

From: Date: Sat, 26 Jul 2003 07:17:14 +0000
Subject: note 34412 added to control-structures.break
Groups: php.notes 
Request: Send a blank email to php-notes+get-52686@lists.php.net to get a copy of this message
I think you missinterpreted him.. As he did say this is insignificant. You are talking about these breaks: switch($name) { case "ed" break; ... } Whereas he's saying this break is not required: switch($name) { default: break; } Like in C/C++. Although, the sentence does equivocate the way you interpreted it perfectly. ---- Manual Page -- http://www.php.net/manual/en/control-structures.break.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34412 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34412&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34412&report=yes

« previous php.notes (#52686) next »