Re: Deconstructor in PHP?

From: Date: Fri, 06 Oct 2000 00:44:29 +0000
Subject: Re: Deconstructor in PHP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18797@lists.php.net to get a copy of this message
Hey Ruben: Reuben D Budiardja wrote: > > Is there any Deconstructor in php classes? something equal to something > like ~class_name in c++? I'm not familliar with C++, so forogive me if I don't answer your question. You can remove an object created by a class. Say, if you created an object like this: $Foo = new Class; You can kill it by doing: unset($Foo); But, that doesn't really kill the class, since you can still create a new object from the class. I don't think there's a way to do that. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y More than just answers. Solutions. (SM) http://www.analysisandsolutions.com/ 4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#18797) next »