mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
998b32acc1
commit
7137ccc0fd
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue