Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0 Bug #2109: Memory leak in each()
| From: | Thies C. Arntzen | Date: | Sat, 21 Aug 1999 19:12:10 +0000 |
| Subject: | Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0 Bug #2109: Memory leak in each() | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3628@lists.php.net to get a copy of this message | ||
On Sat, 21 Aug 1999, Andrey Zmievski wrote:
> >hi,
> >
> >gives the same leak on my machine (latest CVS) - (andrey, are u running
> >with --enable-debug?).
> >
> >ass foo {
> >function affiche_dict() {
> >// $toto = 1;
> > $this->dict["date_message"] = $toto;
> > while (list($key, $val) = each($this->dict)) {}
> >}
> >}
> >
> >uncommenting the $toto = 1 line will "cure" the mem-leaks.
>
> Yes, I am running with --enable-debug. Still no leaks.
weird...
>
> -Andrey
> * Change is the only constant. *
>
> --
> PHP 4 Beta
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany