ID:               31491
 User updated by:  jeroen at unfix dot org
 Reported By:      jeroen at unfix dot org
 Status:           Closed
 Bug Type:         Documentation problem
 Operating System: any
 PHP Version:      5.0.3
 New Comment:

IMHO better to make it:

"'C' style comments end by the first encountered */ even inside strings
and other parsable entities."

The comments already contain that one is best of marking code with if
(0)/(1) when one wants to disable part of the code for debugging
purposes etc...


Previous Comments:
------------------------------------------------------------------------

[2005-01-11 14:43:14] [EMAIL PROTECTED]

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.

I think it's clear enough. However I've added: "'C' style comments end
by the first encountered */."

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

[2005-01-11 14:33:04] jeroen at unfix dot org

No, it is not a dupe, it is a documentation problem. re-read it please.

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

[2005-01-11 13:45:50] [EMAIL PROTECTED]

Duplicate to #31395.

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

[2005-01-11 13:00:41] jeroen at unfix dot org

One cannot nest C comments, so that is clearly incorrect ;)

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

[2005-01-11 12:56:14] [EMAIL PROTECTED]

The docs clearly say:
"You should be careful not to nest 'C' style comments, which can happen
when commenting out large blocks."
(c) http://www.php.net/manual/en/language.basic-syntax.comments.php

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/31491

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

Reply via email to