#37704 [Opn->Csd]: carriage return suppression after closing tag
| From: | rquadling@php.net | Date: | Mon, 14 May 2007 09:38:55 +0000 |
| Subject: | #37704 [Opn->Csd]: carriage return suppression after closing tag | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969376313@lists.php.net to get a copy of this message | ||
ID: 37704
Updated by: rquadling@php.net
Reported By: php at bouchery dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Windows XP
PHP Version: 5.1.4
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Fix #41281 - include comment about newline being absorbed by "end of
php block".
Previous Comments:
------------------------------------------------------------------------
[2006-06-06 09:14:34] mgf@php.net
es, at http://www.php.net/language.basic-syntax.instruction-separation
However, it's *not* mentioned on the basic-syntax.phpmode page where
the open/close tags are defined; this seems a little illogical, so I'm
re-opening this as a documentation problem.
------------------------------------------------------------------------
[2006-06-05 19:21:13] php at bouchery dot com
Ok.
Is it writen in the documentation ?
------------------------------------------------------------------------
[2006-06-05 19:09:27] tony2001@php.net
This is a feature and changing this would break tons of existing
applications.
------------------------------------------------------------------------
[2006-06-05 18:40:12] php at bouchery dot com
Description:
------------
After php closing tag, carriage returns are deleted.
If I add some text after the closing tag, it's OK.
It happen only if the carriage return is place just after the closing
tag.
Reproduce code:
---------------
<?php echo 'Line 1' ?>
<?php echo 'Line 2' ?>
Expected result:
----------------
Line 1
Line 2
Actual result:
--------------
Line 1Line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37704&edit=1