note 75832 added to language.oop5.autoload
| From: | peterdotgoomanatgmaildotcom at osu1 dot php dot net | Date: | Mon, 18 Jun 2007 03:33:02 +0000 |
| Subject: | note 75832 added to language.oop5.autoload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127523@lists.php.net to get a copy of this message | ||
Before you start using __autload, remember that it holds no scope/namespace. This means that if you
are depending on third party applications and they have an autoload function defined and so do you,
your application will error.
To remedy this, everyone should look at the spl_autoload functions, eg: spl_autoload_register. This
function allows more than one custom functions to be called through the default spl_autoload
(default __autoload) handler.
----
Server IP: 216.235.15.211
Probable Submitter: 69.157.235.33
----
Manual Page -- http://www.php.net/manual/en/language.oop5.autoload.php
Edit -- https://master.php.net/note/edit/75832
Del: integrated -- https://master.php.net/note/delete/75832/integrated
Del: useless -- https://master.php.net/note/delete/75832/useless
Del: bad code -- https://master.php.net/note/delete/75832/bad+code
Del: spam -- https://master.php.net/note/delete/75832/spam
Del: non-english -- https://master.php.net/note/delete/75832/non-english
Del: in docs -- https://master.php.net/note/delete/75832/in+docs
Del: other reasons-- https://master.php.net/note/delete/75832
Reject -- https://master.php.net/note/reject/75832
Search -- https://master.php.net/manage/user-notes.php