PHP 4.0 Bug #3500: memmory leak in $this and binary codes
| From: | wico at cnh dot nl | Date: | Wed, 16 Feb 2000 14:02:52 +0000 |
| Subject: | PHP 4.0 Bug #3500: memmory leak in $this and binary codes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15577@lists.php.net to get a copy of this message | ||
From: wico@cnh.nl
Operating system: linux redhat
PHP version: 4.0 Latest CVS (16/02/2000)
PHP Bug Type: Scripting Engine problem
Bug description: memmory leak in $this and binary codes
Hiya again it's me :P
I heard memmory leak shooting season was opened today :)
<?
class Test {
var $a = "";
function plop () {
$this->a = implode ("", file("http://www.cnh.net.local/homenieuws/php"));
}
}
$wico = new Test();
for ($x = 0; $x < 25000; $x++) {
echo "$x<BR>\n"; flush();
$wico->Plop();
}
?>