ID: 6927 Updated by: cynic Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]