Bug #17910 Updated: behaviour of //
| From: | derick@php.net | Date: | Fri, 21 Jun 2002 22:31:38 +0000 |
| Subject: | Bug #17910 Updated: behaviour of // | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11759@lists.php.net to get a copy of this message | ||
ID: 17910
Updated by: derick@php.net
Reported By: tit.petric@telemach.net
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: linux debian
PHP Version: 4.2.1
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-06-21 15:44:22] tit.petric@telemach.net
i have noticed a distinct behaviour of // which caused to give me a
script error each time i commented one specific line, not mattering
where in the file i put the line itself
i went into hex view and tracked down the error and the cause of the
error and i came to this sollution
// echo 'blahblah';
that is okay
// echo 'blahblah(ascii for \r)';
the \r ascii showed up just before the '; (because i was transfering
files from windows where \r\n is used), and caused the script error
untill i removed it (/* */ multiline comments worked fine)
so basically the // behaviour spots the first \r on the same line, and
throws everything else into the script engine, causing a script error.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17910&edit=1