#18987 [Opn->Bgs]: PHP Engine parsing commented code
| From: | edink@php.net | Date: | Tue, 20 Aug 2002 16:03:56 +0000 |
| Subject: | #18987 [Opn->Bgs]: PHP Engine parsing commented code | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17310@lists.php.net to get a copy of this message | ||
ID: 18987
Updated by: edink@php.net
Reported By: xilord@yahoo.com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows/Linux
PHP Version: 4.2.2
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-08-20 12:02:32] xilord@yahoo.com
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 this bug report at http://bugs.php.net/?id=18987&edit=1