Bug #17910: behaviour of //

From: Date: Fri, 21 Jun 2002 19:44:23 +0000
Subject: Bug #17910: behaviour of //
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11736@lists.php.net to get a copy of this message
From: tit.petric@telemach.net Operating system: linux debian PHP version: 4.2.1 PHP Bug Type: Scripting Engine problem Bug description: behaviour of // 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 bug report at http://bugs.php.net/?id=17910&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17910&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17910&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17910&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17910&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17910&r=support Expected behavior: http://bugs.php.net/fix.php?id=17910&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17910&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17910&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17910&r=globals

« previous php.bugs (#11736) next »