[Tickets #6837] Re: Singletons and references

bugs at horde.org bugs at horde.org
Thu Jun 5 09:00:19 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6837
-----------------------------------------------------------------------
 Ticket             | 6837
 Updated By         | Duck <duck at obala.net>
 Summary            | Singletons and references
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Assigned
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             | Thomas Jarosch
-----------------------------------------------------------------------


Duck <duck at obala.net> (2008-06-05 05:00) wrote:

> PHP 5.2.x currently doesn't handle cleanup of cyclic references. PHP
> 5.3.x should be fixed, but it doesn't work properly.

circular references patch will not be implemented in PHP 5.3 because it
did not have many votes.. See: http://news.php.net/php.internals/32330. You
should clean up references by your own with a destroy function.  Adding
this code into the "magic" __destruct() method is impossible because is
called when an object can be destroyed – as is still referenced it means
never.




More information about the bugs mailing list