Date: 12/28/99
- Next message: Thies C. Arntzen: "Re: [PHP-DEV] $string != $array should throw a warning!"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: atlee <email protected>
Operating system: SuSE 6.2/Apache 1.3.9
PHP version: 4.0 Beta 3
PHP Bug Type: Misbehaving function
Bug description: print <<<EOF doesn't parse \n correctly
The script:
<?
print <<<EOF
This is some text\n
This is some more \ttabbed text
EOF;
?>
The output:
\\This is some textn This is some more ttabbed text
As you can see, backslashes are being placed at the front of the line, with the escaped character being printed as normal.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Thies C. Arntzen: "Re: [PHP-DEV] $string != $array should throw a warning!"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

