#33399 [Opn->Bgs]: End-of-line chopped when PHP end tag on end of line
| From: | derick@php.net | Date: | Sun, 19 Jun 2005 12:13:22 +0000 |
| Subject: | #33399 [Opn->Bgs]: End-of-line chopped when PHP end tag on end of line | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-80632@lists.php.net to get a copy of this message | ||
ID: 33399
Updated by: derick@php.net
Reported By: ceefour at gauldong dot net
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: *
PHP Version: 5.0.4
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
Previous Comments:
------------------------------------------------------------------------
[2005-06-19 14:03:02] ceefour at gauldong dot net
Description:
------------
If you have a PHP tag that spans to end of line, the next line will be
concatenated (PHP chops the end of line after the PHP end tag).
This happens regardless of the operating system or the line ending used
in the file (LF or CRLF).
Reproduce code:
---------------
Test: <?php echo 'Hello' ?>
---------
Expected result:
----------------
Test: Hello
---------
Actual result:
--------------
Test: Hello---------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33399&edit=1