Edit report at https://bugs.php.net/bug.php?id=60872&edit=1

 ID:                 60872
 User updated by:    mantoxpub at people dot it
 Reported by:        mantoxpub at people dot it
 Summary:            server-side comment tag
 Status:             Wont fix
 Type:               Feature/Change Request
 Package:            Scripting Engine problem
 Operating System:   Linux
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

The reason i'm asking is because this syntax is faster to write than:
<?php /* this is a server-side comment. */ ?>

Also it's supported by most server-side scripting languages (JSP, ASP).


Previous Comments:
------------------------------------------------------------------------
[2012-01-26 10:04:39] johan...@php.net

As said you can duse // or /* */ comments. Extending the grammar by this forces 
people to learn more things without much benefit.

------------------------------------------------------------------------
[2012-01-26 03:57:45] carloschilazo at gmail dot com

Why not use

/*
comment
*/

or // comment

?

------------------------------------------------------------------------
[2012-01-24 19:16:02] mantoxpub at people dot it

Description:
------------
---
>From manual page: http://www.php.net/language.basic-syntax.comments
---

what about supporting server-side comment tag?



Test script:
---------------
<%-- this is a server-side comment. --%>

Expected result:
----------------
(nothing :)

Actual result:
--------------
<%-- this is a server-side comment. --%>


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60872&edit=1

Reply via email to