Em Wed, 03 Aug 2011 15:29:20 +0100, Etienne Kneuss <col...@php.net> escreveu:

Hi,

http://pecl.php.net/package/Weakref has been created, and the
standalone code should compile fine (I checked for 5_3 only but
everything should be smooth for 5_4/trunk)

The next planned addition is a StrongRef class, following the exact
same interface as WeakRef only that it is always valid and get()
always return the ref. The reason for it is that code can switch
between the two transparently.


Wouldn't it be better to have both classes implement a common interface then?

--
Gustavo Lopes

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

Reply via email to