PHP 4.0 Bug #5281: Memleak when referencing '$this'
| From: | caps at gge dot nl | Date: | Fri, 30 Jun 2000 09:27:31 +0000 |
| Subject: | PHP 4.0 Bug #5281: Memleak when referencing '$this' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22725@lists.php.net to get a copy of this message | ||
From: caps@gge.nl
Operating system: Linux
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Other
Bug description: Memleak when referencing '$this'
<?
class muhtest {
var $blaa;
function test($test) {
$this->blaa = &$this;
}
}
$blah = new muhtest;
$blah->test("test2");
?>