Re: note 11889 added to language.oop.php

From: Date: Mon, 12 Mar 2001 18:45:18 +0000
Subject: Re: note 11889 added to language.oop.php
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-12305@lists.php.net to get a copy of this message
See the implementation of destructors in the PEAR code. This is documented in the PEAR section of the manual now. PHP does not have desctructors inherently, but you can implement them if needed. --- pawsa@theochem.kth.se wrote: > Concerning the comment on desctructors: [Editor's > note: ... To destroy an object, just assign to the > variable, or use unset(), as you would with any > other variable in the language. ...]: this does not > allow to execute an action on destroying an object. > One might want to clear temporary files etc on > object destruction. I understand that there is no > way to do so with PHP 4.0, is that correct? > > http://www.php.net/manual/en/language.oop.php > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-notes-unsubscribe@lists.php.net > For additional commands, e-mail: > php-notes-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== --- Jesus M. Castagnetto <jmcastagnetto@php.net> __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/

« previous php.notes (#12305) next »