note 99759 deleted from function.spl-autoload-extensions by peehaa
| From: | peehaa@php.net | Date: | Wed, 15 May 2019 11:39:55 +0000 |
| Subject: | note 99759 deleted from function.spl-autoload-extensions by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211044@lists.php.net to get a copy of this message | ||
Note Submitter: Jeremy Cook
----
A quick note for anyone using this function to add their own autoload extensions. I found that if I
included a space in between the different extensions (i.e. '.php, .class.php') the
function would not work. To get it to work I had to remove the spaces between the extensions (ie.
'.php,.class.php'). This was tested in PHP 5.3.3 on Windows and I'm using
spl_autoload_register() without adding any custom autoload functions.
Hope that helps somebody.