Re: Variable Reference Counters
| From: | Tom Oram | Date: | Fri, 06 Sep 2002 12:19:40 +0000 |
| Subject: | Re: Variable Reference Counters | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87998@lists.php.net to get a copy of this message | ||
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/
***************************************************