ID: 9109
Updated by: stas
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Right. Engine cannot parse your comments as if they were PHP
code (because they are not), so be careful.
Previous Comments:
---------------------------------------------------------------------------
[2001-02-05 07:22:06] [EMAIL PROTECTED]
This is a problem:
/*
$pnr=preg_replace("/[a-zA-Z]*/", "", $pnr);
*/
As you can see this is a line that has been commented out.
The problem is that the engine thinks that the "*/" within the REGEX itself is the end
of the comment making it impossible to comment this line out.
This is a big problem if you have a whole block of expressions containing REGEX which
you want to comment out!
What about a fix?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9109&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]