[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] leak() & crash()

2002-11-20 Thread Derick Rethans
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

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] leak() & crash()

2002-11-20 Thread Andi Gutmans
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 r

Re: [PHP-DEV] leak() & crash()

2002-11-20 Thread Marcus Börger
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 w

Re: [PHP-DEV] leak() & crash()

2002-11-20 Thread Derick Rethans
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

Re: [PHP-DEV] leak()

2002-11-19 Thread Juerg Zgraggen
thanx, regards, jürg "Derick Rethans" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Tue, 19 Nov 2002, Juerg Zgraggen wrote: > > > hi derick > > thanx for answering... > > > > do i understand it right? this function is used for generating a memory le

Re: [PHP-DEV] leak()

2002-11-19 Thread Derick Rethans
On Tue, 19 Nov 2002, Juerg Zgraggen wrote: > hi derick > thanx for answering... > > do i understand it right? this function is used for generating a memory leak > which you want to test? Yes it is. > and whats about this function emalloc() ... i did not find it on php.net. i > suppose it is used

Re: [PHP-DEV] leak()

2002-11-19 Thread Juerg Zgraggen
hi derick thanx for answering... do i understand it right? this function is used for generating a memory leak which you want to test? and whats about this function emalloc() ... i did not find it on php.net. i suppose it is used to alloc memory? regards, jürg zgraggen "Derick Rethans" <[EMAIL P

Re: [PHP-DEV] leak()

2002-11-19 Thread Derick Rethans
On Tue, 19 Nov 2002, Juerg Zgraggen wrote: > hi > > does anybody know how the function leak() works? > can anybody explain? It leaks memory, by only running an emalloc without a free: /* {{{ proto void leak(int num_bytes=3) Cause an intentional memory leak, for testing/debugging purposes */

[PHP-DEV] leak()

2002-11-19 Thread Juerg Zgraggen
hi does anybody know how the function leak() works? can anybody explain? thanx, regards, jürg zgraggen -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] leak() & crash()

2002-11-19 Thread Marcus Börger
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() a

Re: [PHP-DEV] leak() & crash()

2002-11-18 Thread Derick Rethans
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 -- -

[PHP-DEV] leak() & crash()

2002-11-18 Thread Marcus Börger
Shouldn't leak() and crash() be disabled or without functionality for normal use and instead have to be enabled with a configure option? marcus -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Leak & Memory Overrun in 4.3.0pre2

2002-10-29 Thread Michael Sisolak
I'm seeing a memory overrun under PHP 4.3.0pre2 (debug) running under Windows 2000 ISAPI. Using these two scripts: test.php styled! stylesheet.php -- .text { font-size: 12px; color: red; font-family: Arial, Helvetica, Verdana, sans-serif }