note 107902 added to function.autoload
| From: | juan dot carlos dot montilla at gmail dot com | Date: | Wed, 14 Mar 2012 00:45:45 +0000 |
| Subject: | note 107902 added to function.autoload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186648@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 200.44.212.64
----
Manual Page -- http://www.php.net/manual/en/function.autoload.php
Edit -- https://master.php.net/note/edit/107902
Del: integrated -- https://master.php.net/note/delete/107902/integrated
Del: useless -- https://master.php.net/note/delete/107902/useless
Del: bad code -- https://master.php.net/note/delete/107902/bad+code
Del: spam -- https://master.php.net/note/delete/107902/spam
Del: non-english -- https://master.php.net/note/delete/107902/non-english
Del: in docs -- https://master.php.net/note/delete/107902/in+docs
Del: other reasons-- https://master.php.net/note/delete/107902
Reject -- https://master.php.net/note/reject/107902
Search -- https://master.php.net/manage/user-notes.php