note 107902 deleted from function.autoload by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 18:11:24 +0000 |
| Subject: | note 107902 deleted from function.autoload by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187731@lists.php.net to get a copy of this message | ||
Note Submitter: juan dot carlos dot montilla at gmail dot com
----
If your __autoload implementation is not working...
Check if spl_autoload_register() is being called before __autoload.
PHP 5.3 and PHP 5.4 will completely ignore __autoload.
It happened to me after adding Smarty to my web application.
NOTE: This is an exact duplicate from this comment: http://www.php.net/manual/en/language.oop5.autoload.php#104282
.
Sadly i didn't see it until i discovered this issue myself.
Cheers.