ID:               31491
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jeroen at unfix dot org
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: any
 PHP Version:      5.0.3
 New Comment:

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 */."


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

[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

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

[2005-01-11 12:48:43] jeroen at unfix dot org

Compiling that works fine with GCC++, Intel C++ and Visual C++. Thus
fix the documentation on the PHP site.

Indeed, it does not compile with C, but it does with a C++ compiler. C
doesn't allow nested /* */ commenting.

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

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