Re: Static Destructor methods
| From: | Thies C. Arntzen | Date: | Fri, 05 Apr 2002 19:56:09 +0000 |
| Subject: | Re: Static Destructor methods | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5205@lists.php.net to get a copy of this message | ||
On Fri, Apr 05, 2002 at 08:44:15PM +0100, Richard Heyes wrote:
> In the File class, which is soon to be entirely static based, there is a
> need for a destructor style method which runs when the script is finished to
> unlock locked files, and close open file pointers. Currently it's done by
it would be cleaner to do this in the script - but php should
take care of all this automagically.
tc