note 116587 deleted from control-structures.elseif by salathe
| From: | salathe@php.net | Date: | Fri, 06 Feb 2015 13:14:40 +0000 |
| Subject: | note 116587 deleted from control-structures.elseif by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-201624@lists.php.net to get a copy of this message | ||
Note Submitter: me
----
@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.