>> I hope this will be more clear once the RFC is complete. I will then start
>> a
>> separate thread for official discussion.
>
> All I wanted was to point out that introducing such a thing might overly
> complicate things for users not familiar with the concept...as the java guy
> pointed out in his intro, even java-people don't know about the feature,
> even though it's been around for 10 years
> (http://weblogs.java.net/blog/2006/05/04/understanding-weak-references).
>

I think that having to know and care about refcounts and zvals are
more complicated than having an Spl class, which can hold a reference
for a variable what can be destroyed to free memory.
and there is a chance that people are familiar with the Weak
references from other languages, while the zval approach only familiar
for those that knows about php internals.
so I think that from the userland POV, weak references are easier to grasp.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

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

Reply via email to