Re: PHP Object-Caching and Reference Counting

From: Date: Fri, 19 Jan 2007 17:13:39 +0000
Subject: Re: PHP Object-Caching and Reference Counting
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-27540@lists.php.net to get a copy of this message
Hi! Lars Schultz wrote: > > As you can see I boldly used the function reference_count(Object) even > though it doesn't exist. This is exactly what I'd need to allow my > concept to work. Some time ago I created a patch to implement a ref_count() function which works the way you suggested. But I'm not sure if it's OK/complete... and I'm not sure if something like that is really needed in the core (and I'm definetly not the person to decide on that ;-)). Anyway, I attatched a simple patch against current 5_2 branch to this mail, perhaps it helps. Best regards Andreas

« previous php.internals (#27540) next »