Re: [DataObjects] Destroy Objects

From: Date: Mon, 19 Jul 2004 15:43:52 +0000
Subject: Re: [DataObjects] Destroy Objects
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13751@lists.php.net to get a copy of this message
On Mon, 19 Jul 2004 11:23:21 +0200, nohuman <nohuman@ono.com> wrote: > Hi! > I read a PHP douments of Class and Objects and I am confused. > > My problem is Destroy a Objects, Data_Objects. > In large script, create many DataObjects, to process large tables, I think, if > destroy used Objects, free memery and increase performance. > > Actualy use unset() function, Is this correct? > Assuming I've understoon you correctly, yes, using unset() on a variable should destroy it. It may not be destroyed immediately, though. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

« previous php.pear.general (#13751) next »