Am 03.09.2011 13:56, schrieb Etienne Kneuss:
Indeed, I planned to implement that as well, I haven't had the time to do it
yet though. It should happen in the following weeks.

Not to keep you from doing this...but couldn't that easily be solved by using a simple associative php array like this:

$pseudoWeakMap = array();
$pseudoWeakMap[spl_object_hash($obj)] = new WeakReference($obj);

or did I misunderstand the concept? I hope I'll have a chance to use WeakReferences soon in my project;)


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to