The function get_reference_count() could be helpful with garbage
collection. For
example most people using Java do not know when the garbage collection fails
like collections, double linked lists and such. I guess your point was to
addresses
exactly this circumstance. If so that function would e
Quick amendment to the original example
Marcus Boerger pointed out my line of code which said
if (get_reference_count($this->objects[$id]))
should have been
if (get_reference_count($this->objects[$id]) == 1)
Thanks Marcus.
Anyone got any opinions on this topic yet?
Cheers
To
At 11:43 06.09.2002, Tom Oram wrote:
>Hi,
>
>In the Zend Engine I assume each (referenced) variable has some sort of
>reference counter so that when the last reference is lost the memory is freed
>up, am I right? If I am has anyone ever suggested or are there any plans to
>make this available to t
Hi,
In the Zend Engine I assume each (referenced) variable has some sort of
reference counter so that when the last reference is lost the memory is freed
up, am I right? If I am has anyone ever suggested or are there any plans to
make this available to the php scripts, this goes for the object po