note 100415 deleted from function.spl-autoload-register by danbrown
| From: | danbrown@php.net | Date: | Thu, 14 Oct 2010 16:31:40 +0000 |
| Subject: | note 100415 deleted from function.spl-autoload-register by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173224@lists.php.net to get a copy of this message | ||
Note Submitter: AxelH
----
In Reply To: http://www.php.net/manual/en/function.spl-autoload-register.php#92514
This does not work for CamelCase named classes on *nix machines.
spl_autoload() will lowercase filenames.
So \foo\bar\MyClass will try to load foo/bar/myclass.php and fail if it is named foo/bar/MyClass.php