Re: File Naming Convention
| From: | Michael Wallner | Date: | Tue, 07 Dec 2004 07:33:23 +0000 |
| Subject: | Re: File Naming Convention | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2117@lists.php.net to get a copy of this message | ||
Hi Bertrand Gugger, you wrote:
> So far, I don't find much doc about it: __autoload()
> What is the directory default there ?
The "default" (i.e. common sense) is (or rather should be)
that a class should be loadable by doing:
include_once strtr('_', '/', $class) .'.php';
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc