Mention that __autoload is somehow outdated

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315838 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Etienne Kneuss 2011-08-31 00:22:27 +00:00
parent 998b32acc1
commit 7137ccc0fd

View file

@ -15,6 +15,14 @@
defined yet. By calling this function the scripting engine is given
a last chance to load the class before PHP fails with an error.
</para>
<tip>
<para>
<function>spl_autoload_register</function> provides a more flexible
alternative for autoloading classes. For this reason, using
<function>__autoload</function> is discouraged and may be deprecated or
removed in the future.
</para>
</tip>
<note>
<para>
Prior to 5.3.0, exceptions thrown in the __autoload function could not be