note 85181 added to language.basic-syntax.instruction-separation
| From: | Darabos at osu1 dot php dot net | Date: | Tue, 19 Aug 2008 10:58:38 +0000 |
| Subject: | note 85181 added to language.basic-syntax.instruction-separation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143625@lists.php.net to get a copy of this message | ||
One newline character (or sequence) is dropped out by the parser after "?>", so you can
add the beloved "final newline" to your file after "?>"
Example for plain text outputs:
<? foreach($array as $elem){ ?>
Value: <?=$elem?>
<? } ?>
(You have to add an extra enter after <?=$elem?> if you want to see a newline in the output.
----
Server IP: 92.43.200.200
Probable Submitter: 89.132.149.210
----
Manual Page -- http://www.php.net/manual/en/language.basic-syntax.instruction-separation.php
Edit -- https://master.php.net/note/edit/85181
Del: integrated -- https://master.php.net/note/delete/85181/integrated
Del: useless -- https://master.php.net/note/delete/85181/useless
Del: bad code -- https://master.php.net/note/delete/85181/bad+code
Del: spam -- https://master.php.net/note/delete/85181/spam
Del: non-english -- https://master.php.net/note/delete/85181/non-english
Del: in docs -- https://master.php.net/note/delete/85181/in+docs
Del: other reasons-- https://master.php.net/note/delete/85181
Reject -- https://master.php.net/note/reject/85181
Search -- https://master.php.net/manage/user-notes.php