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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Fri May 10 07:01:31 2024 UTC