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
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
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
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
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
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
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
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 */
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
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
--
-
10 matches
Mail list logo