note 91838 added to control-structures.alternative-syntax
| From: | larry at osu1 dot php dot net | Date: | Sat, 27 Jun 2009 22:02:26 +0000 |
| Subject: | note 91838 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-157634@lists.php.net to get a copy of this message | ||
Just noticed next, the code below won't work.
<?php
if (true):
echo 'This should print.';
if (true) echo 'This should print aswell.';
else:
echo 'this should not print';
endif;
?>
----
Server IP: 208.69.120.35
Probable Submitter: 81.165.134.151
----
Manual Page -- http://www.php.net/manual/en/control-structures.alternative-syntax.php
Edit -- https://master.php.net/note/edit/91838
Del: integrated -- https://master.php.net/note/delete/91838/integrated
Del: useless -- https://master.php.net/note/delete/91838/useless
Del: bad code -- https://master.php.net/note/delete/91838/bad+code
Del: spam -- https://master.php.net/note/delete/91838/spam
Del: non-english -- https://master.php.net/note/delete/91838/non-english
Del: in docs -- https://master.php.net/note/delete/91838/in+docs
Del: other reasons-- https://master.php.net/note/delete/91838
Reject -- https://master.php.net/note/reject/91838
Search -- https://master.php.net/manage/user-notes.php