note 116883 added to language.basic-syntax.phptags
| From: | purkrt at gmail dot com | Date: | Sun, 15 Mar 2015 13:18:06 +0000 |
| Subject: | note 116883 added to language.basic-syntax.phptags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201948@lists.php.net to get a copy of this message | ||
I would like to stress out that the opening tag is "<?php[whitespace]", not just
"<?php". While this might seem blatantly obvious, I thought for some time that
<?php/*blah*/ echo "a"?>
would work, and it does not; the comment does not work as whitespace. I've run into this while
converting some older code with short open tag.
----
Server IP: 72.52.91.14
Probable Submitter: 90.181.216.33
----
Manual Page -- http://php.net/manual/en/language.basic-syntax.phptags.php
Edit -- https://master.php.net/note/edit/116883
Del: integrated -- https://master.php.net/note/delete/116883/integrated
Del: useless -- https://master.php.net/note/delete/116883/useless
Del: bad code -- https://master.php.net/note/delete/116883/bad+code
Del: spam -- https://master.php.net/note/delete/116883/spam
Del: non-english -- https://master.php.net/note/delete/116883/non-english
Del: in docs -- https://master.php.net/note/delete/116883/in+docs
Del: other reasons-- https://master.php.net/note/delete/116883
Reject -- https://master.php.net/note/reject/116883
Search -- https://master.php.net/manage/user-notes.php