#10090 [Com]: PHP code parser interprets <? and ?> tags -IN- comments

From: Date: Tue, 20 Jul 2004 14:59:25 +0000
Subject: #10090 [Com]: PHP code parser interprets <? and ?> tags -IN- comments
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62744@lists.php.net to get a copy of this message
ID: 10090 Comment by: pregnant-sex841 at hotmail dot com Reported By: chabotc at reviewboard dot com Status: Bogus Bug Type: Scripting Engine problem Operating System: Redhat Linux 7.0 PHP Version: 4.0.4pl1 New Comment: <a href=http://esmall-femdomdouble.da.ru>pregnant sex</a> Previous Comments: ------------------------------------------------------------------------ [2001-03-31 08:12:09] cynic@php.net read the manual. this is how it works. ------------------------------------------------------------------------ [2001-03-31 08:10:39] chabotc at reviewboard dot com When writing a piece of code, with a comment containing <? or ?> the block statements are still interpreted by the script parser. eg <? // this is a comment about ?> tags echo "hello"; ?> would give you a syntax error when trying to run the script. Since im writing a php source beautifier in PHP, this is kind of anoying :) -- Chris ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=10090&edit=1

« previous php.bugs (#62744) next »