Hi All,

    I think I'm looking for something that doesn't exist, but just in
case thought I'd check the list. Does anyone know if a PHP function
exists to get the number of references on a given variable's data? I was
hoping to create a way for a factory to automatically recycle resources
without the need for the developer to call some kind of free() method.
If I could get the internal reference count then I'd be able to
determine if it is free by virtue of only 1 reference (the factory).
This is for PHP4 btw, the solution is trivial in PHP5 using destructors.

Thanks in advance.
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to