Re: PHP Object-Caching and Reference Counting

From: Date: Sun, 21 Jan 2007 16:24:54 +0000
Subject: Re: PHP Object-Caching and Reference Counting
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-27564@lists.php.net to get a copy of this message
Andreas Korthaus wrote:
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 ;-)).
Wow! This is great news...though I have no idea what to do with the patch and how to apply it to the php-source-code. The trouble is that I have to use the default php-engine because it should be runnable on any host...with some extensions. I don't guess it'd be possible to pack the functionality into en extension which could then be loaded more easily into the engine?
Anyway, I attatched a simple patch against current 5_2 branch to this mail, perhaps it helps.
Thanks anyway! It was an interesting read though my c and c++ knowledge is far from complete so i don't understand the workings, really...Maybe, if I feel restless, I'll have a look at the sources, though I wouldn't know where to start.

« previous php.internals (#27564) next »