#22664 [Opn->Csd]: %> in comment // with asp_tags=on
| From: | vrana@php.net | Date: | Wed, 10 Dec 2003 13:00:55 +0000 |
| Subject: | #22664 [Opn->Csd]: %> in comment // with asp_tags=on | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969357296@lists.php.net to get a copy of this message | ||
ID: 22664
Updated by: vrana@php.net
Reported By: tgsupport at free dot fr
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Windows
PHP Version: 4.3.0
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-12-09 14:43:06] derek@php.net
?> in comments will also cause problems.
eg:
<?php
// this will cause a problem ?>
echo 'blarb',chr(10);
?>
output will not be "blarb\n" as expected, but rather:
echo 'blarb',chr(10); ?>
------------------------------------------------------------------------
[2003-09-10 21:32:02] hholzgra@php.net
thats why you should always put your html attributes in quotes ;)
------------------------------------------------------------------------
[2003-03-12 14:03:43] tgsupport at free dot fr
Update doc
http://www.php.net/manual/en/language.basic-syntax.comments.php
for say when asp_tags is on
<?
// echo "<td width=74%>mycell</td>
?>
display "mycell ?>
or global script can produce Parse error: parse error, unexpected $end
in xxxx.php on line yyyy (the last line)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22664&edit=1