RE: [PHP] Debug code
| From: | Jay Blanchard | Date: | Mon, 19 Jan 2004 15:45:31 +0000 |
| Subject: | RE: [PHP] Debug code | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175026@lists.php.net to get a copy of this message | ||
[snip]
I have a large PHP application that has a ton of statements like the
first
email for catching problems. I would like to 'automatically' remove them
before I ship the code to eliminate the extra size. I can do it in C,
C++,
VB but I don't know if it can be done in PHP.
[/snip]
Whoever created the code added the debug statements. PHP is interpreted
by the Zend/PHP engine and therefore does not have a preprocessor. If
you wish to remove said code you must do it by hand.