Re: leak()
| From: | Juerg Zgraggen | Date: | Tue, 19 Nov 2002 21:58:30 +0000 |
| Subject: | Re: leak() | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91337@lists.php.net to get a copy of this message | ||
thanx, regards, jürg
"Derick Rethans" <derick@php.net> schrieb im Newsbeitrag
news:Pine.LNX.4.44.0211192245520.2421-100000@jdi.jdimedia.nl...
> 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 to alloc memory?
>
> It's the Zend memory manager version of C's malloc(); this version will
> dump errors when the script ends and it was not freed. This mechanism
> can be tested with the PHP leak() function.
>
> Derick
>
> --
>
> --------------------------------------------------------------------------
-
> Derick Rethans http://derickrethans.nl/ï(+ã
> ©îH8$ž2¦N
> JDI Media Solutions
> --------------[ if you hold a unix shell to your ear, do you hear the
c? ]-
>