php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5281 Memleak when referencing '$this'
Submitted: 2000-06-30 05:27 UTC Modified: 2000-06-30 06:04 UTC
From: caps at gge dot nl Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: caps at gge dot nl
New email:
PHP Version: OS:

 

 [2000-06-30 05:27 UTC] caps at gge dot nl
<?
        class muhtest {
                var $blaa;
                function test($test) {
                        $this->blaa = &$this;

                }
        }

        $blah = new muhtest;
        $blah->test("test2");
?>



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-30 06:04 UTC] stas at cvs dot php dot net
PHP does not support circular references. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 14:01:34 2024 UTC