note 7975 deleted from Classes and Objects by ronabop
| From: | ronabop@php.net | Date: | Wed, 23 Aug 2000 10:22:59 +0000 |
| Subject: | note 7975 deleted from Classes and Objects by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3001@lists.php.net to get a copy of this message | ||
Hi!
If my constructor function reads data from a file, how do i know if my constructor fails (ex open
the file) when doing...
$my_obj = new Obj();
I tried returning 'false' from the constructor but that doesn't work, $my_obj still
gets defined as a object.