Re: svn: /phpdoc/en/trunk/reference/funchand/functions/ register-shutdown-function.xml

From: Date: Tue, 22 Nov 2011 08:11:27 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/funchand/functions/ register-shutdown-function.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9062@lists.php.net to get a copy of this message
On Wed, Nov 16, 2011 at 19:10, Nikita Popov <nikic@php.net> wrote: > nikic                                    Wed, 16 Nov 2011 18:10:24 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=319357 > > Log: > Update register_shutdown_function documentation > > Changed paths: >    U   phpdoc/en/trunk/reference/funchand/functions/register-shutdown-function.xml > > Modified: phpdoc/en/trunk/reference/funchand/functions/register-shutdown-function.xml > =================================================================== > --- phpdoc/en/trunk/reference/funchand/functions/register-shutdown-function.xml 2011-11-16 > 18:09:35 UTC (rev 319356) > +++ phpdoc/en/trunk/reference/funchand/functions/register-shutdown-function.xml 2011-11-16 > 18:10:24 UTC (rev 319357) > @@ -10,14 +10,13 @@ >   &reftitle.description; >   <methodsynopsis> >   >  <type>void</type><methodname>register_shutdown_function</methodname> > -   > <methodparam><type>callback</type><parameter>function</parameter></methodparam> > +   > <methodparam><type>callback</type><parameter>callback</parameter></methodparam> >    <methodparam > choice="opt"><type>mixed</type><parameter>parameter</parameter></methodparam> >    <methodparam > choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> >   </methodsynopsis> >   <para> > -   Registers the function named by <parameter>function</parameter> to be > -   executed when script processing is complete or when <function>exit</function> > -   is called. > +   Registers a <parameter>callback</parameter> to be executed after script > +   execution finishes or <function>exit</function> is called. >   </para> >   <para> >    Multiple calls to <function>register_shutdown_function</function> can be > @@ -33,23 +32,15 @@ >   <para> >    <variablelist> >     <varlistentry> > -     <term><parameter>function</parameter></term> > +     <term><parameter>callback</parameter></term> >      <listitem> >       <para> > -       The shutdown function to register. > +       The shutdown callback to register. >       </para> >       <para> > -       The shutdown functions are called as the part of the request so that > -       it's possible to send the output from them. There is currently no way > -       to process the data with output buffering functions in the shutdown > -       function. > +       The shutdown callbacks are executed as the part of the request, so > +       it's possible to send output from them and access output buffers. >       </para> > -      <para> > -       Shutdown functions are called after closing all opened output buffers > -       thus, for example, its output will not be compressed if <link > -       > linkend="ini.zlib.output-compression">zlib.output_compression</link> is > -       enabled. > -      </para> That seems like a new change, and should probably be documented in the changelogs too.. -Hannes

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