note 10114 added to Classes and Objects

From: Date: Thu, 14 Dec 2000 09:28:07 +0000
Subject: note 10114 added to Classes and Objects
Groups: php.notes 
Request: Send a blank email to php-notes+get-8722@lists.php.net to get a copy of this message
Why isn't there a destructor? I know that cleaning up your stuff isn't really required as you don't do things like allocating memory and your database conection gets disconnected as your connection to the webserver ends. Nevertheless, I think destructors would be nice. Something like you can't say A (constructors) without B (destructors). http://www.php.net/manual/language.oop.php

« previous php.notes (#8722) next »