#42875 [Opn->Bgs]: End tag in simple comment throw parse error
| From: | johannes@php.net | Date: | Sat, 06 Oct 2007 10:20:31 +0000 |
| Subject: | #42875 [Opn->Bgs]: End tag in simple comment throw parse error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-118259@lists.php.net to get a copy of this message | ||
ID: 42875
Updated by: johannes@php.net
Reported By: php at milicevic dot fr
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows XP
PHP Version: 5.2.4
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
.
Previous Comments:
------------------------------------------------------------------------
[2007-10-06 10:16:00] php at milicevic dot fr
Description:
------------
Hi,
Note:
# ?> same problem
Problem with PHP 5.1.4 and PHP 5.2.4
Reproduce code:
---------------
<?php
if (0)
{
// just a comment ?>
}
?>
Expected result:
----------------
Actual result:
--------------
Parse error: syntax error, unexpected $end in C:\...\bugphp.php on line
7
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42875&edit=1