note 3550 deleted from language.basic-syntax.comments by didou
| From: | didou@php.net | Date: | Mon, 04 Oct 2004 12:02:16 +0000 |
| Subject: | note 3550 deleted from language.basic-syntax.comments by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77984@lists.php.net to get a copy of this message | ||
Note Submitter: john at e-connectsolutions dot com
----
For larger blocks of code that I want to comment and un-comment regularly (eg, debug code), I like
to use comments in this style:
/* debug code ------------- //
echo "This is debug code";
...
// ---------------------- */
You can easily uncoment the whole block by changing the /* to //, and vice versa.