note 116587 added to control-structures.elseif

From: Date: Mon, 26 Jan 2015 15:34:15 +0000
Subject: note 116587 added to control-structures.elseif
Groups: php.notes 
Request: Send a blank email to php-notes+get-201524@lists.php.net to get a copy of this message
@qualitycoder If you were right than this: <?php if(false) { echo "a"; } else if(false){ echo "b"; } else { echo "c"; } ?> Will be same as this: <?php if(false) { echo "a"; } else { if(false){ echo "b"; } } else { echo "c"; } ?> And this is not true, because the first one works. ---- Server IP: 72.52.91.14 Probable Submitter: 83.27.104.165 ---- Manual Page -- http://php.net/manual/en/control-structures.elseif.php Edit -- https://master.php.net/note/edit/116587 Del: integrated -- https://master.php.net/note/delete/116587/integrated Del: useless -- https://master.php.net/note/delete/116587/useless Del: bad code -- https://master.php.net/note/delete/116587/bad+code Del: spam -- https://master.php.net/note/delete/116587/spam Del: non-english -- https://master.php.net/note/delete/116587/non-english Del: in docs -- https://master.php.net/note/delete/116587/in+docs Del: other reasons-- https://master.php.net/note/delete/116587 Reject -- https://master.php.net/note/reject/116587 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201524) next »