note 118605 deleted from language.basic-syntax.phptags by peehaa
| From: | peehaa@php.net | Date: | Mon, 13 Mar 2017 08:53:54 +0000 |
| Subject: | note 118605 deleted from language.basic-syntax.phptags by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208897@lists.php.net to get a copy of this message | ||
Note Submitter: jcastromail at yahoo dot es
----
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