Chris Boget wrote:
why not just do:
unset($dbObject);
We were using unset() for the longest time but found it doesn't
seem to free up the memory.
interesting - you are suggesting that settype does free the memory
directly? I have seen a number of posts to internals regarding to
being able to free up memory in long-running/heavy cli scripts...
none of the devs mentioned settype() ... maybe you know something
nobody else does :-)
$dbObject &= new IPI_OfficeDetailsInterface();
so you want to do a bitwise AND on a non-existant variable and a newly
creately object??
maybe you meant to do:
$dbObject =& new IPI_OfficeDetailsInterface();
You are right. My original email contained a typo. It should have
been '=&' as that is what is in our code.
darn, no easy fix then.
why didn't you paste the code verbatim? - typing it over by hand
(or approximating) is a waste of (other) peoples time. (i.e. they are
trying to help you fix code that doesn't really exist)
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php