note 74519 rejected from language.oop5.decon by bjori

From: Date: Tue, 17 Apr 2007 09:42:09 +0000
Subject: note 74519 rejected from language.oop5.decon by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-125515@lists.php.net to get a copy of this message
Note Submitter: maurits_dekkers at nospam dot bluedackers dot com ---- Note that it does not appear to be possible to instantiate an object in a destructor if its instantiation invokes __autoload(). The following does not work: <?php class MyClass { public function __destruct(){ // If you do not use include() or require() to get your classes // and if you rely upon __autload(), then this will trigger a fatal error new OtherClass(); } } ?>

« previous php.notes (#125515) next »