Re: Mistake: Autoloading Objects
| From: | Sean Coates | Date: | Mon, 18 Oct 2004 14:02:47 +0000 |
| Subject: | Re: Mistake: Autoloading Objects | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969364576@lists.php.net to get a copy of this message | ||
Too late (-:
I'd committed this before he even posted to the list, and only focused on the bug, not the CS.
http://news.phpdoc.info/php.doc/1302
S
Aidan Lister wrote:
We should probably use PEAR CS, and require instead of include: function __autoload($class_name) {require_once $class_name . '.php';} I didn't see your commit, so assuming it's still local (waiting to be commited) we'll save the translators a commit