#35359 [Opn->Bgs]: lost newline/whitespace after php closing tag
| From: | sniper@php.net | Date: | Thu, 24 Nov 2005 08:21:46 +0000 |
| Subject: | #35359 [Opn->Bgs]: lost newline/whitespace after php closing tag | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88817@lists.php.net to get a copy of this message | ||
ID: 35359
Updated by: sniper@php.net
Reported By: junggle at centrum dot cz
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: linux
PHP Version: 4.4.1
New Comment:
FAQ:
http://www.php.net/manual/en/faq.using.php#faq.using.newlines
Previous Comments:
------------------------------------------------------------------------
[2005-11-24 06:25:57] junggle at centrum dot cz
Description:
------------
the php parser eats new line character and/or any whitespace characters
after closing tag ( ?> )
tested on linux php4.3.10
tested on win32 php5.0.4
sorry if this has been documented, i searched but didn't find
anything related.
-jj
Reproduce code:
---------------
line <?php?>
line
Expected result:
----------------
line
line
Actual result:
--------------
line line
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35359&edit=1