Re: [PHP-DEV] Weak references in PHP
[email protected] (George Schlossnagle)
| Newsgroups | php.dev |
|---|---|
| Message-ID | <[email protected]> |
> Can anybody tell me if such features are available in PHP (I failed to > find > them myself). Look at __destruct method for classes in ZE2. They wopn't tell you the reference count, but the do get called when the ref count goes to 0.