Req->Doc #65347 [Opn]: Comments should be nestable
| From: | yohgaki@php.net | Date: | Fri, 26 Jul 2013 22:43:07 +0000 |
| Subject: | Req->Doc #65347 [Opn]: Comments should be nestable | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10120@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65347&edit=1
ID: 65347
Updated by: yohgaki@php.net
Reported by: TorrAB at Yahoo dot com
Summary: Comments should be nestable
Status: Open
-Type: Feature/Change Request
+Type: Documentation Problem
Package: *General Issues
Operating System: WindowsXP
PHP Version: 5.4.17
Block user comment: N
Private report: N
New Comment:
You may escape comment strings as follows.
<?php
/* aa \/* bb *\/ cc*/
echo 9999;
?>
It would be easy job for smart editors.
However, it seems this is not documented.
Previous Comments:
------------------------------------------------------------------------
[2013-07-26 18:53:11] TorrAB at Yahoo dot com
Description:
------------
---
From manual page: http://www.php.net/language.basic-syntax.comments
---
Comments should be nestable:
/*some code being bypassed /*comment: watch out for 0.*/more code bypassed*/
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65347&edit=1