PHP 4.0 Bug #2698: here-doc spurious output; escape character problem
| From: | nprolog at postalmodern dot com | Date: | Thu, 11 Nov 1999 01:13:51 +0000 |
| Subject: | PHP 4.0 Bug #2698: here-doc spurious output; escape character problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12275@lists.php.net to get a copy of this message | ||
From: nprolog@postalmodern.com
Operating system: SunOS 5.6
PHP version: 4.0 Beta 2
PHP Bug Type: Scripting Engine problem
Bug description: here-doc spurious output; escape character problem
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>