#37704 [WFx->Opn]: carriage return suppression after closing tag
| From: | mgf@php.net | Date: | Tue, 06 Jun 2006 09:14:35 +0000 |
| Subject: | #37704 [WFx->Opn]: carriage return suppression after closing tag | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969373183@lists.php.net to get a copy of this message | ||
ID: 37704
Updated by: mgf@php.net
Reported By: php at bouchery dot com
-Status: Wont fix
+Status: Open
-Bug Type: Output Control
+Bug Type: Documentation problem
Operating System: Windows XP
PHP Version: 5.1.4
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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