note 11922 added to pear.standards.comments.php

From: Date: Tue, 13 Mar 2001 17:05:40 +0000
Subject: note 11922 added to pear.standards.comments.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-12340@lists.php.net to get a copy of this message
This is a note to andykirk's note: I use for this problem (debug-code) the following construct: /* comment this with # or // for debuging # begin of debug code debug-code # end of debug code # */ It's quite the same... but perhaps # */ is better readable? The use of debuging code IF-statements is a good way, if you search for a general failure in calling procedures for example (PHPLIB for example makes extensive use of it) but it slows down the code and interpreter and sometimes makes it impossible to find a very special error, cause of a "megabytes of debug output error". :-) PHP is missing here something like C´s conditional compiling of code (#if). http://www.php.net/manual/en/pear.standards.comments.php

« previous php.notes (#12340) next »