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
Tom
--
***************************************************
Tom Oram
SCL Computer Services
URL http://www.scl.co.uk/
***************************************************
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php