php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33399 End-of-line chopped when PHP end tag on end of line
Submitted: 2005-06-19 14:03 UTC Modified: 2005-06-19 14:13 UTC
From: ceefour at gauldong dot net Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.0.4 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ceefour at gauldong dot net
New email:
PHP Version: OS:

 

 [2005-06-19 14:03 UTC] 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---------

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-19 14:13 UTC] derick@php.net
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

.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon May 16 14:05:46 2022 UTC