Re: [PHP-DEV] leak() crash()
On Tue, 19 Nov 2002, Marcus Börger wrote: As far as i can tell from the source there is ZEND_TEST_EXCEPTIONS to guard crash() but leak() isa allways there. Without debug leak() doesn't report anything but it produces a leak. hmm, you're right. I would vote to remove this function when not compiling in debug mode. Derick -- --- Derick Rethans http://derickrethans.nl/ JDI Media Solutions --[ if you hold a unix shell to your ear, do you hear the c? ]- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] leak() crash()
At 14:04 20.11.2002, Derick Rethans wrote: On Tue, 19 Nov 2002, Marcus Börger wrote: As far as i can tell from the source there is ZEND_TEST_EXCEPTIONS to guard crash() but leak() isa allways there. Without debug leak() doesn't report anything but it produces a leak. hmm, you're right. I would vote to remove this function when not compiling in debug mode. Derick +1 marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] leak() crash()
At 02:04 PM 11/20/2002 +0100, Derick Rethans wrote: On Tue, 19 Nov 2002, Marcus Börger wrote: As far as i can tell from the source there is ZEND_TEST_EXCEPTIONS to guard crash() but leak() isa allways there. Without debug leak() doesn't report anything but it produces a leak. hmm, you're right. I would vote to remove this function when not compiling in debug mode. That's probably reasonable. Andi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] leak() crash()
On Wed, 20 Nov 2002, Andi Gutmans wrote: At 02:04 PM 11/20/2002 +0100, Derick Rethans wrote: On Tue, 19 Nov 2002, Marcus Börger wrote: As far as i can tell from the source there is ZEND_TEST_EXCEPTIONS to guard crash() but leak() isa allways there. Without debug leak() doesn't report anything but it produces a leak. hmm, you're right. I would vote to remove this function when not compiling in debug mode. That's probably reasonable. I'm going to do that right away. Derick -- --- Derick Rethans http://derickrethans.nl/ JDI Media Solutions --[ if you hold a unix shell to your ear, do you hear the c? ]- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] leak() crash()
As far as i can tell from the source there is ZEND_TEST_EXCEPTIONS to guard crash() but leak() isa allways there. Without debug leak() doesn't report anything but it produces a leak. marcus At 07:36 19.11.2002, Derick Rethans wrote: On Tue, 19 Nov 2002, Marcus Börger wrote: Shouldn't leak() and crash() be disabled or without functionality for normal use and instead have to be enabled with a configure option? --enable-debug is this switch AFAIK. Derick -- --- Derick Rethans http://derickrethans.nl/ JDI Media Solutions --[ if you hold a unix shell to your ear, do you hear the c? ]- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] leak() crash()
On Tue, 19 Nov 2002, Marcus Börger wrote: Shouldn't leak() and crash() be disabled or without functionality for normal use and instead have to be enabled with a configure option? --enable-debug is this switch AFAIK. Derick -- --- Derick Rethans http://derickrethans.nl/ JDI Media Solutions --[ if you hold a unix shell to your ear, do you hear the c? ]- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php