note 11320 deleted from Classes and Objects by jmcastagnetto

From: Date: Fri, 16 Feb 2001 02:25:08 +0000
Subject: note 11320 deleted from Classes and Objects by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-11128@lists.php.net to get a copy of this message
I must be missing something, because I can't find any references in the documentation to two items: 1. Class Destructors - this is called when an object goes out of scope or is deallocated. 2. How to cause a constructor to fail. For example, if I want to have a constructor function that opens a file, but the fopen() command fails, I might want the constructor function to somehow return NULL or 0 or something that would indicate that the construction of the object failed. Any information on these two items? Thanks.

« previous php.notes (#11128) next »