note 63963 added to control-structures.switch

From: Date: Tue, 04 Apr 2006 18:19:26 +0000
Subject: note 63963 added to control-structures.switch
Groups: php.notes 
Request: Send a blank email to php-notes+get-107322@lists.php.net to get a copy of this message
the syntax can also be: <?php switch (expression){ case const-expr:{ statements } case const-expr:{ statements } default:{ statements } } ?> this syntax may result a better readability and a better autoindenting by some editors (e.g. vim) ---- Server IP: 66.163.161.117 Probable Submitter: 84.167.50.241 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/control-structures.switch.php Edit -- http://master.php.net/note/edit/63963 Del: integrated -- http://master.php.net/note/delete/63963/integrated Del: useless -- http://master.php.net/note/delete/63963/useless Del: bad code -- http://master.php.net/note/delete/63963/bad+code Del: spam -- http://master.php.net/note/delete/63963/spam Del: non-english -- http://master.php.net/note/delete/63963/non-english Del: in docs -- http://master.php.net/note/delete/63963/in+docs Del: other reasons-- http://master.php.net/note/delete/63963 Reject -- http://master.php.net/note/reject/63963 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107322) next »