note 117040 added to control-structures.alternative-syntax
| From: | Kubo2 | Date: | Mon, 06 Apr 2015 17:32:12 +0000 |
| Subject: | note 117040 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202184@lists.php.net to get a copy of this message | ||
It is very interesting, that <? true && print "Hi Geek!" ?> works, while
<? true && echo "Hi Geek!" ?> results in a Fatal Error (and both echo() and
print() are PHP language constructs, so should behave consistently).
----
Server IP: 89.187.142.233
Probable Submitter: 62.197.243.253
----
Manual Page -- http://php.net/manual/en/control-structures.alternative-syntax.php
Edit -- https://master.php.net/note/edit/117040
Del: integrated -- https://master.php.net/note/delete/117040/integrated
Del: useless -- https://master.php.net/note/delete/117040/useless
Del: bad code -- https://master.php.net/note/delete/117040/bad+code
Del: spam -- https://master.php.net/note/delete/117040/spam
Del: non-english -- https://master.php.net/note/delete/117040/non-english
Del: in docs -- https://master.php.net/note/delete/117040/in+docs
Del: other reasons-- https://master.php.net/note/delete/117040
Reject -- https://master.php.net/note/reject/117040
Search -- https://master.php.net/manage/user-notes.php