Bug #10858: DOS line termination causes PHP to misparse data
| From: | phpbugs at improbable dot org | Date: | Mon, 14 May 2001 19:41:07 +0000 |
| Subject: | Bug #10858: DOS line termination causes PHP to misparse data | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55233@lists.php.net to get a copy of this message | ||
From: phpbugs@improbable.org
Operating system: Linux gigante 2.2.19 #1 Thu Apr 19 22:35:28 EST 2001 i686
PHP version: 4.0.5
PHP Bug Type: Scripting Engine problem
Bug description: DOS line termination causes PHP to misparse data
Compare
http://gigante.improbable.org/php/line-term/dos.php
and
http://gigante.improbable.org/php/line-term/dos.phps.
Comments using the C++ style // syntax are sent to the
browser as output. heredocs which have a ^M will return
parse errors.
http://gigante.improbable.org/php/line-term/unix.php
and
http://gigante.improbable.org/php/line-term/unix.phps
show
that all works as expected when using Unix line
termination.
--
Edit Bug report at: http://bugs.php.net/?id=10858&edit=1