php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2698 here-doc spurious output; escape character problem
Submitted: 1999-11-10 20:13 UTC Modified: 1999-11-22 18:16 UTC
From: nprolog at postalmodern dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 2 OS: SunOS 5.6
Private report: No CVE-ID: None
 [1999-11-10 20:13 UTC] nprolog at postalmodern dot com
I'm experiencing this both under Linux and Solaris:

<? print <<<EOT
<HTML>
<HEAD><TITLE>test</TITLE>
</HEAD>
<BODY>
\test
</BODY>
</HTML>
EOT;

yields:
\\<HTML>
<HEAD><TITLE>test</TITLE>
</HEAD>
<BODY>
test
</BODY>
</HTML>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-22 18:16 UTC] andi at cvs dot php dot net
Fixed in latest CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 08:01:28 2024 UTC