#31673 [Opn->Bgs]: Comments getting parsed
| From: | tony2001@php.net | Date: | Sun, 23 Jan 2005 23:51:47 +0000 |
| Subject: | #31673 [Opn->Bgs]: Comments getting parsed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72713@lists.php.net to get a copy of this message | ||
ID: 31673
Updated by: tony2001@php.net
Reported By: php at cash-area dot de
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Linux and Windows
PHP Version: Irrelevant
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: http://www.php.net/manual/en/language.basic-syntax.comments.php
Previous Comments:
------------------------------------------------------------------------
[2005-01-24 00:38:52] php at cash-area dot de
Description:
------------
short_open_tag = On
Closetags (and maybe other stuff) will get parsed if you're using //
and # as comment.
Just look at the code to see it with your own eyes ;)
Reproduce code:
---------------
This will echo a "?>"
<?php
//?>
?>
This too:
<?php
#?>
?>
This will echo nothing
<?php
/*?>*/
?>
Expected result:
----------------
Nothing
Actual result:
--------------
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31673&edit=1