Re: [PHP-DEV] [RFC] Weak References

2011-08-01 Thread Hannes Landeholm
Arguably the feature is already "popular". I have pointed this out many times before but many other major OO languages provides weak references natively. Read the introduction in the RFC. Pragmatically speaking (as a framework designer) you are unfortunately not so privileged on what PECL/PHP ext

Re: [PHP-DEV] [RFC] Weak References

2011-07-31 Thread Stas Malyshev
Hi! On 7/31/11 6:59 PM, Hannes Landeholm wrote: Hi, I'd like to initiate voting on this RFC today since the minimum period of two weeks has now passed. Can someone with the right wiki powers/responsibilities start a vote and announce the [VOTE] on the mailing list? I think I'm missing some im

Re: [PHP-DEV] [RFC] Weak References

2011-07-31 Thread Hannes Landeholm
Hi, I'd like to initiate voting on this RFC today since the minimum period of two weeks has now passed. Can someone with the right wiki powers/responsibilities start a vote and announce the [VOTE] on the mailing list? Thank you, ~Hannes

Re: [PHP-DEV] [RFC] Weak References

2011-07-30 Thread Hannes Landeholm
Hello guys, I'd just like to remind you that I plan to initiate voting for this RFC on Monday (less than 2 days) so if you plan on voting no, please reply here asap so we can discuss your concerns. Thank you for your time, ~Hannes

Re: [PHP-DEV] [RFC] Weak References

2011-07-18 Thread Etienne Kneuss
Hi, On Mon, Jul 18, 2011 at 20:12, Adam Harvey wrote: > On Jul 18, 2011 9:20 AM, "Hannes Landeholm" wrote: >> In a nutshell: The RFC proposes adding a single class called "SplWeakRef" >> which provides the "Weak Reference" feature. This is the only change. > > This may just be Monday morning fuz

Re: [PHP-DEV] [RFC] Weak References

2011-07-18 Thread Hannes Landeholm
Hi, Yes, I'm also interested in caching - It's a very interesting subject... borderline philosophical. When you are caching model instances in a database object relation layer you could clearly benefit from implementing some kind of caching mechanism that retains object even though it's unclear wh

Re: [PHP-DEV] [RFC] Weak References

2011-07-18 Thread Adam Harvey
On Jul 18, 2011 11:51 AM, "Hannes Landeholm" wrote: > Weak references is an OOP concept. Scalar data types and arrays are not OOP-related so I don't think that would make sense. Variable references is not the same as object references. A variable reference is simply a variable that is connected wi

Re: [PHP-DEV] [RFC] Weak References

2011-07-18 Thread Hannes Landeholm
Weak references is an OOP concept. Scalar data types and arrays are not OOP-related so I don't think that would make sense. Variable references is not the same as object references. A variable reference is simply a variable that is connected with another variable (if you set one it will change the

Re: [PHP-DEV] [RFC] Weak References

2011-07-18 Thread Adam Harvey
On Jul 18, 2011 9:20 AM, "Hannes Landeholm" wrote: > In a nutshell: The RFC proposes adding a single class called "SplWeakRef" > which provides the "Weak Reference" feature. This is the only change. This may just be Monday morning fuzziness, or I've just missed something in the RFC, but is there

[PHP-DEV] [RFC] Weak References

2011-07-18 Thread Hannes Landeholm
Hello, This is the official RFC discussion thread for Weak References and an announcement of the RFC. Please read the RFC before replying: https://wiki.php.net/rfc/weakreferences In a nutshell: The RFC proposes adding a single class called "SplWeakRef" which provides the "Weak Reference" feature