note 3550 modified in language.basic-syntax.comments by irc-html

From: Date: Fri, 18 Jan 2002 19:50:45 +0000
Subject: note 3550 modified in language.basic-syntax.comments by irc-html
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-25065@lists.php.net to get a copy of this message
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. --was-- 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: <PRE> /* debug code ------------- // echo "This is debug code"; ... // ---------------------- */ </PRE> You can easily uncoment the whole block by changing the /* to //, and vice versa. http://www.php.net/manual/en/language.basic-syntax.comments.php

« previous php.notes (#25065) next »