Re: PHP 4.0 Bug #2109: Memory leak in each()
| From: | Andrey Zmievski | Date: | Sat, 21 Aug 1999 15:19:52 +0000 |
| Subject: | Re: PHP 4.0 Bug #2109: Memory leak in each() | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3624@lists.php.net to get a copy of this message | ||
>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.
-Andrey
* Change is the only constant. *