#18987 [NEW]: PHP Engine parsing commented code

From: Date: Tue, 20 Aug 2002 16:02:33 +0000
Subject: #18987 [NEW]: PHP Engine parsing commented code
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17309@lists.php.net to get a copy of this message
From: xilord@yahoo.com Operating system: Windows/Linux PHP version: 4.2.2 PHP Bug Type: Scripting Engine problem Bug description: PHP Engine parsing commented code Can duplicate on Windows 2k and Linux // $patt = "/(^\s*<p[^>]*?>)|(<\/p>$)/i"; -------------------------} PHP is parsing the commented code and closing the script block at the "?>". Haven't found anything on this issue in the Bug db. I know there are obvious work-arounds but I thought I'd mention it. -- Edit bug report at http://bugs.php.net/?id=18987&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=18987&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=18987&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18987&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18987&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18987&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18987&r=support Expected behavior: http://bugs.php.net/fix.php?id=18987&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18987&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18987&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18987&r=globals

« previous php.bugs (#17309) next »