note 46619 deleted from language.oop5.autoload by sean

From: Date: Mon, 18 Oct 2004 00:01:29 +0000
Subject: note 46619 deleted from language.oop5.autoload by sean
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-78710@lists.php.net to get a copy of this message
Note Submitter: mike dot howells at tesco dot net ---- Of course the code above should have a dot in the '.php' extension if your files are in the form 'classname.php'. I also get a syntax error in ZDE unless the code is all on one line: function __autoload($name) { include_once $name . '.php'; } Not sure why this should be. ---- Reason: incoporating into manual

« previous php.notes (#78710) next »