PHP 4.0 Bug #6927 Updated:

From: Date: Sun, 21 Jan 2001 08:34:00 +0000
Subject: PHP 4.0 Bug #6927 Updated:
Groups: php.dev 
Request: Send a blank email to php-dev+get-44663@lists.php.net to get a copy of this message
ID: 6927 Updated by: cynic Reported By: rbaron@imake.com Old-Status: Open Status: Suspended Bug Type: Feature/Change Request Assigned To: Comments: you can turn assertions on/off using assert_options() / .ini settings Personally, I would kill for macros, but I don't think we'll see them in PHP in close future. Previous Comments: --------------------------------------------------------------------------- [2000-09-28 22:17:41] rbaron@imake.com make the define able to replace the function names, ie. #if debug #define assert(a) (doAssert(a)) #else #define assert(a) #endif This way, when code is released, the functions that aid in debugging the application never get called. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6927

« previous php.dev (#44663) next »