svn: /phpdoc/en/trunk/reference/spl/functions/ spl-autoload-register.xml

From: Date: Thu, 30 Jul 2009 14:31:05 +0000
Subject: svn: /phpdoc/en/trunk/reference/spl/functions/ spl-autoload-register.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4569@lists.php.net to get a copy of this message
bjori Thu, 30 Jul 2009 14:31:05 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=286560 Log: Improve description (patch by Brandon Savage) Changed paths: U phpdoc/en/trunk/reference/spl/functions/spl-autoload-register.xml Modified: phpdoc/en/trunk/reference/spl/functions/spl-autoload-register.xml =================================================================== --- phpdoc/en/trunk/reference/spl/functions/spl-autoload-register.xml 2009-07-30 13:54:20 UTC (rev 286559) +++ phpdoc/en/trunk/reference/spl/functions/spl-autoload-register.xml 2009-07-30 14:31:05 UTC (rev 286560) @@ -21,6 +21,12 @@ spl_autoload_register() will effectively replace the engine cache for the __autoload function by either spl_autoload() or spl_autoload_call(). </para> + <para> + If there must be multiple autoload functions, <function>spl_autoload_register</function> + allows for this. It effectively creates a queue of autoload functions, and + runs through each of them in the order they are defined. By contrast, + <function>__autoload</function> may only be defined once. + </para> </refsect1> <refsect1 role="parameters">

« previous php.doc.cvs (#4569) next »