note 112658 added to control-structures.elseif

From: Date: Tue, 09 Jul 2013 23:20:02 +0000
Subject: note 112658 added to control-structures.elseif
Groups: php.notes 
Request: Send a blank email to php-notes+get-195552@lists.php.net to get a copy of this message
presumably the parser could be extended to treat the : as a type of { that is closed by the next 'endif' 'else' or 'elseif' that occurs at the same nesting level. and then it would be possible to use either 'elseif' or 'else if' and to mix blocking styles. however I can't immagine anyone considering this to be a good thing. ---- Server IP: 69.147.83.199 Probable Submitter: 116.90.140.41 ---- Manual Page -- http://php.net/manual/en/control-structures.elseif.php Edit -- https://master.php.net/note/edit/112658 Del: integrated -- https://master.php.net/note/delete/112658/integrated Del: useless -- https://master.php.net/note/delete/112658/useless Del: bad code -- https://master.php.net/note/delete/112658/bad+code Del: spam -- https://master.php.net/note/delete/112658/spam Del: non-english -- https://master.php.net/note/delete/112658/non-english Del: in docs -- https://master.php.net/note/delete/112658/in+docs Del: other reasons-- https://master.php.net/note/delete/112658 Reject -- https://master.php.net/note/reject/112658 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195552) next »