ID: 30686 Updated by: [EMAIL PROTECTED] Reported By: nosoftwarepatents at free dot fr -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: w2k PHP Version: 5.0.2 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php See the part in the manual on escaping from HTML. Previous Comments: ------------------------------------------------------------------------ [2004-11-04 16:18:18] nosoftwarepatents at free dot fr Description: ------------ while commenting out a portion of a regular expression on a single line of code, I noticed that: /* "'<script[^>]*?>.*?</script>'si"; */ works fine, but that the following generate a Parse error // "'<script[^>]*?>.*?</script>'si"; # "'<script[^>]*?>.*?</script>'si"; Surely, comment syntax should be read first before ignoring the trailing text, no? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30686&edit=1