note 113613 added to function.spl-autoload
| From: | Philip | Date: | Tue, 05 Nov 2013 15:05:40 +0000 |
| Subject: | note 113613 added to function.spl-autoload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197439@lists.php.net to get a copy of this message | ||
The documentation is a little unclear when it says: "The lowercased name of the class (and
namespace) being instantiated".
What it actually means is that the argument can be in whatever case you want, but it will be
converted to lowercase before PHP starts looking for files. This is probably because in PHP, class
names are case-insensitive (as well as function names and namespaces) so it needs to convert to some
canonical format.
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.spl-autoload.php
Edit -- https://master.php.net/note/edit/113613
Del: integrated -- https://master.php.net/note/delete/113613/integrated
Del: useless -- https://master.php.net/note/delete/113613/useless
Del: bad code -- https://master.php.net/note/delete/113613/bad+code
Del: spam -- https://master.php.net/note/delete/113613/spam
Del: non-english -- https://master.php.net/note/delete/113613/non-english
Del: in docs -- https://master.php.net/note/delete/113613/in+docs
Del: other reasons-- https://master.php.net/note/delete/113613
Reject -- https://master.php.net/note/reject/113613
Search -- https://master.php.net/manage/user-notes.php