[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: Re: [DOC-CVS] svn: /phpdoc/en/trunk/reference/spl/functions/ spl-autoload-register.xml
From: Peter Cowburn <petercowburn () gmail ! com>
Date: 2014-09-22 19:32:51
Message-ID: CAPg3XxLByvy-eeyGf5Vt+xVH7xqvAMZ60rKdOG6XUcq=hbAawA () mail ! gmail ! com
[Download RAW message or body]
On 21 September 2014 07:50, Joe Watkins <krakjoe@php.net> wrote:
> krakjoe Sun, 21 Sep 2014 06:50:51 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=334917
>
> Log:
> fix #67936 (change use of the word "stack" for "queue")
>
We also mention the "autoload stack" in the spl_autoload_functions() and
spl_autoload_unregister() docs. Care to update those too? Cheers.
Plus, "__autoload stack" (or queue) is incorrect. We should be using
"autoload" there.
> Bug: https://bugs.php.net/67936 (Open) The spl_autoload_register()
> function uses queue but not stack
>
> 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
> 2014-09-21 06:46:22 UTC (rev 334916)
> +++ phpdoc/en/trunk/reference/spl/functions/spl-autoload-register.xml
> 2014-09-21 06:50:51 UTC (rev 334917)
> @@ -14,12 +14,12 @@
> <methodparam
> choice="opt"><type>bool</type><parameter>prepend</parameter><initializer>false</initializer></methodparam>
> </methodsynopsis>
> <para>
> - Register a function with the spl provided __autoload stack. If the
> stack
> + Register a function with the spl provided __autoload queue. If the
> queue
> is not yet activated it will be activated.
> </para>
> <para>
> If your code has an existing <function>__autoload</function> function
> then
> - this function must be explicitly registered on the __autoload stack.
> This
> + this function must be explicitly registered on the __autoload queue.
> This
> is because <function>spl_autoload_register</function> will effectively
> replace the engine cache for the <function>__autoload</function>
> function
> by either <function>spl_autoload</function> or
> @@ -63,7 +63,7 @@
> <listitem>
> <para>
> If true, <function>spl_autoload_register</function> will prepend
> - the autoloader on the autoload stack instead of appending it.
> + the autoloader on the autoload queue instead of appending it.
> </para>
> </listitem>
> </varlistentry>
>
>
> --
> PHP Documentation Commits Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic