note 118605 added to language.basic-syntax.phptags
| From: | jcastromail at yahoo dot es | Date: | Thu, 07 Jan 2016 00:36:47 +0000 |
| Subject: | note 118605 added to language.basic-syntax.phptags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-204608@lists.php.net to get a copy of this message | ||
Its important:
this code (for web)
<pre>
I
<? echo "am;" ?>
Groot
</pre>
Generates the next result:
I
amGroot
instead of
I
am
Groot
The last tag "?>" deletes the end of the line.
However, if we changed the line
<? echo "am"; ?>
by
<? echo "am"; ?>. (or a space)
then the result is :
I
am.
Groot
----
Server IP: 72.52.91.14
Probable Submitter: 190.46.131.35
----
Manual Page -- http://php.net/manual/en/language.basic-syntax.phptags.php
Edit -- https://master.php.net/note/edit/118605
Del: integrated -- https://master.php.net/note/delete/118605/integrated
Del: useless -- https://master.php.net/note/delete/118605/useless
Del: bad code -- https://master.php.net/note/delete/118605/bad+code
Del: spam -- https://master.php.net/note/delete/118605/spam
Del: non-english -- https://master.php.net/note/delete/118605/non-english
Del: in docs -- https://master.php.net/note/delete/118605/in+docs
Del: other reasons-- https://master.php.net/note/delete/118605
Reject -- https://master.php.net/note/reject/118605
Search -- https://master.php.net/manage/user-notes.php