cvs: phpdoc /en/reference/apd/functions apd-breakpoint.xml apd-callstack.xml apd-clunk.xml apd-continue.xml apd-croak.xml apd-dump-function-table.xml
apd-dump-persistent-resources.xml apd-dump-regular-resources.xml apd-echo.xml apd-get-active-symbols.xml apd-set-pprof-trace.xml
apd-set-session-trace.xml apd-set-session.xml apd-set-socket-session-trace.xml override-function.xml rename-function.xml

From: Date: Sat, 16 Sep 2006 20:33:25 +0000
Subject: cvs: phpdoc /en/reference/apd/functions apd-breakpoint.xml apd-callstack.xml apd-clunk.xml apd-continue.xml apd-croak.xml apd-dump-function-table.xml
apd-dump-persistent-resources.xml apd-dump-regular-resources.xml apd-echo.xml apd-get-active-symbols.xml apd-set-pprof-trace.xml
apd-set-session-trace.xml apd-set-session.xml apd-set-socket-session-trace.xml override-function.xml rename-function.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374034@lists.php.net to get a copy of this message
didou Sat Sep 16 20:33:25 2006 UTC Modified files: /phpdoc/en/reference/apd/functions apd-breakpoint.xml apd-callstack.xml apd-clunk.xml apd-continue.xml apd-croak.xml apd-dump-function-table.xml apd-dump-persistent-resources.xml apd-dump-regular-resources.xml apd-echo.xml apd-get-active-symbols.xml apd-set-pprof-trace.xml apd-set-session-trace.xml apd-set-session.xml apd-set-socket-session-trace.xml override-function.xml rename-function.xml Log: Begin the docs from column 0 # new doc style (1/2)

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-breakpoint.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-breakpoint.xml diff -u phpdoc/en/reference/apd/functions/apd-breakpoint.xml:1.3 phpdoc/en/reference/apd/functions/apd-breakpoint.xml:1.4 --- phpdoc/en/reference/apd/functions/apd-breakpoint.xml:1.3 Thu Jun 23 16:53:18 2005 +++ phpdoc/en/reference/apd/functions/apd-breakpoint.xml Sat Sep 16 20:33:25 2006 @@ -1,25 +1,24 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-breakpoint"> - <refnamediv> - <refname>apd_breakpoint</refname> - <refpurpose>Stops the interpreter and waits on a CR from the socket</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>apd_breakpoint</methodname> - <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> - </methodsynopsis> - <para> - This can be used to stop the running of your script, and await responses - on the connected socket. To step the program, just send enter (a blank - line), or enter a php command to be executed. A typical session using - tcplisten would look like this. - </para> - <para> - <programlisting role="shell"> +<!-- $Revision: 1.4 $ --> +<refentry id="function.apd-breakpoint"> + <refnamediv> + <refname>apd_breakpoint</refname> + <refpurpose>Stops the interpreter and waits on a CR from the socket</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>apd_breakpoint</methodname> + <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> + </methodsynopsis> + <para> + This can be used to stop the running of your script, and await responses + on the connected socket. To step the program, just send enter (a blank + line), or enter a php command to be executed. A typical session using + tcplisten would look like this. + </para> + <para> + <programlisting role="shell"> <![CDATA[ bash#tcplisten localhost 7777 @@ -56,10 +55,10 @@ ........ >apd_continue(0); ]]> - </programlisting> - </para> - </refsect1> - </refentry> + </programlisting> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-callstack.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-callstack.xml diff -u phpdoc/en/reference/apd/functions/apd-callstack.xml:1.1 phpdoc/en/reference/apd/functions/apd-callstack.xml:1.2 --- phpdoc/en/reference/apd/functions/apd-callstack.xml:1.1 Thu Aug 5 13:15:18 2004 +++ phpdoc/en/reference/apd/functions/apd-callstack.xml Sat Sep 16 20:33:25 2006 @@ -1,34 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-callstack"> - <refnamediv> - <refname>apd_callstack</refname> - <refpurpose>Returns the current call stack as an array</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>array</type><methodname>apd_callstack</methodname> - <void/> - </methodsynopsis> - <para> - Returns the current call stack as an array - </para> - <para> - <example> - <title><function>apd_callstack</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.2 $ --> +<refentry id="function.apd-callstack"> + <refnamediv> + <refname>apd_callstack</refname> + <refpurpose>Returns the current call stack as an array</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>array</type><methodname>apd_callstack</methodname> + <void/> + </methodsynopsis> + <para> + Returns the current call stack as an array + </para> + <para> + <example> + <title><function>apd_callstack</function> example</title> + <programlisting role="php"> <![CDATA[ <?php print_r(apd_callstack()); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-clunk.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-clunk.xml diff -u phpdoc/en/reference/apd/functions/apd-clunk.xml:1.2 phpdoc/en/reference/apd/functions/apd-clunk.xml:1.3 --- phpdoc/en/reference/apd/functions/apd-clunk.xml:1.2 Fri Aug 13 16:12:04 2004 +++ phpdoc/en/reference/apd/functions/apd-clunk.xml Sat Sep 16 20:33:25 2006 @@ -1,36 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-clunk"> - <refnamediv> - <refname>apd_clunk</refname> - <refpurpose>Throw a warning and a callstack</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>apd_clunk</methodname> - <methodparam><type>string</type><parameter>warning</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam> - </methodsynopsis> - <para> - Behaves like perl's Carp::cluck. Throw a warning and a callstack. - The default line delimiter is "&lt;BR /&gt;\n". - </para> - <para> - <example> - <title><function>apd_clunk</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.3 $ --> +<refentry id="function.apd-clunk"> + <refnamediv> + <refname>apd_clunk</refname> + <refpurpose>Throw a warning and a callstack</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>void</type><methodname>apd_clunk</methodname> + <methodparam><type>string</type><parameter>warning</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam> + </methodsynopsis> + <para> + Behaves like perl's Carp::cluck. Throw a warning and a callstack. + The default line delimiter is "&lt;BR /&gt;\n". + </para> + <para> + <example> + <title><function>apd_clunk</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_clunk("Some Warning","<P>"); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-continue.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-continue.xml diff -u phpdoc/en/reference/apd/functions/apd-continue.xml:1.6 phpdoc/en/reference/apd/functions/apd-continue.xml:1.7 --- phpdoc/en/reference/apd/functions/apd-continue.xml:1.6 Thu Jun 23 16:53:18 2005 +++ phpdoc/en/reference/apd/functions/apd-continue.xml Sat Sep 16 20:33:25 2006 @@ -1,34 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-continue"> - <refnamediv> - <refname>apd_continue</refname> - <refpurpose>Restarts the interpreter</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>apd_continue</methodname> - <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> - </methodsynopsis> - <para> - Usually sent via the socket to restart the interpreter. - </para> - <para> - <example> - <title><function>apd_continue</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.7 $ --> +<refentry id="function.apd-continue"> + <refnamediv> + <refname>apd_continue</refname> + <refpurpose>Restarts the interpreter</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>apd_continue</methodname> + <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> + </methodsynopsis> + <para> + Usually sent via the socket to restart the interpreter. + </para> + <para> + <example> + <title><function>apd_continue</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_continue(0); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-croak.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-croak.xml diff -u phpdoc/en/reference/apd/functions/apd-croak.xml:1.2 phpdoc/en/reference/apd/functions/apd-croak.xml:1.3 --- phpdoc/en/reference/apd/functions/apd-croak.xml:1.2 Fri Aug 13 16:12:04 2004 +++ phpdoc/en/reference/apd/functions/apd-croak.xml Sat Sep 16 20:33:25 2006 @@ -1,36 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-croak"> - <refnamediv> - <refname>apd_croak</refname> - <refpurpose>Throw an error, a callstack and then exit</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>apd_croak</methodname> - <methodparam><type>string</type><parameter>warning</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam> - </methodsynopsis> - <para> - Behaves like perl's Carp::croak. Throw an error, a callstack and then - exit. The default line delimiter is "&lt;BR /&gt;\n". - </para> - <para> - <example> - <title><function>apd_croak</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.3 $ --> +<refentry id="function.apd-croak"> + <refnamediv> + <refname>apd_croak</refname> + <refpurpose>Throw an error, a callstack and then exit</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>void</type><methodname>apd_croak</methodname> + <methodparam><type>string</type><parameter>warning</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam> + </methodsynopsis> + <para> + Behaves like perl's Carp::croak. Throw an error, a callstack and then + exit. The default line delimiter is "&lt;BR /&gt;\n". + </para> + <para> + <example> + <title><function>apd_croak</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_croak("Some Warning","<P>"); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-dump-function-table.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-dump-function-table.xml diff -u phpdoc/en/reference/apd/functions/apd-dump-function-table.xml:1.2 phpdoc/en/reference/apd/functions/apd-dump-function-table.xml:1.3 --- phpdoc/en/reference/apd/functions/apd-dump-function-table.xml:1.2 Fri Aug 13 16:12:04 2004 +++ phpdoc/en/reference/apd/functions/apd-dump-function-table.xml Sat Sep 16 20:33:25 2006 @@ -1,34 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-dump-function-table"> - <refnamediv> - <refname>apd_dump_function_table</refname> - <refpurpose>Outputs the current function table</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>apd_dump_function_table</methodname> - <void/> - </methodsynopsis> - <para> - Outputs the current function table. - </para> - <para> - <example> - <title><function>apd_dump_function_table</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.3 $ --> +<refentry id="function.apd-dump-function-table"> + <refnamediv> + <refname>apd_dump_function_table</refname> + <refpurpose>Outputs the current function table</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>void</type><methodname>apd_dump_function_table</methodname> + <void/> + </methodsynopsis> + <para> + Outputs the current function table. + </para> + <para> + <example> + <title><function>apd_dump_function_table</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_dump_function_table(); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-dump-persistent-resources.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-dump-persistent-resources.xml diff -u phpdoc/en/reference/apd/functions/apd-dump-persistent-resources.xml:1.1 phpdoc/en/reference/apd/functions/apd-dump-persistent-resources.xml:1.2 --- phpdoc/en/reference/apd/functions/apd-dump-persistent-resources.xml:1.1 Thu Aug 5 13:15:18 2004 +++ phpdoc/en/reference/apd/functions/apd-dump-persistent-resources.xml Sat Sep 16 20:33:25 2006 @@ -1,34 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-dump-persistent-resources"> - <refnamediv> - <refname>apd_dump_persistent_resources</refname> - <refpurpose>Return all persistent resources as an array</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>array</type><methodname>apd_dump_persistent_resources</methodname> - <void/> - </methodsynopsis> - <para> - Return all persistent resources as an array. - </para> - <para> - <example> - <title><function>apd_dump_persistent_resources</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.2 $ --> +<refentry id="function.apd-dump-persistent-resources"> + <refnamediv> + <refname>apd_dump_persistent_resources</refname> + <refpurpose>Return all persistent resources as an array</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>array</type><methodname>apd_dump_persistent_resources</methodname> + <void/> + </methodsynopsis> + <para> + Return all persistent resources as an array. + </para> + <para> + <example> + <title><function>apd_dump_persistent_resources</function> example</title> + <programlisting role="php"> <![CDATA[ <?php print_r(apd_dump_persistent_resources()); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-dump-regular-resources.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-dump-regular-resources.xml diff -u phpdoc/en/reference/apd/functions/apd-dump-regular-resources.xml:1.1 phpdoc/en/reference/apd/functions/apd-dump-regular-resources.xml:1.2 --- phpdoc/en/reference/apd/functions/apd-dump-regular-resources.xml:1.1 Thu Aug 5 13:15:18 2004 +++ phpdoc/en/reference/apd/functions/apd-dump-regular-resources.xml Sat Sep 16 20:33:25 2006 @@ -1,34 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-dump-regular-resources"> - <refnamediv> - <refname>apd_dump_regular_resources</refname> - <refpurpose>Return all current regular resources as an array</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>array</type><methodname>apd_dump_regular_resources</methodname> - <void/> - </methodsynopsis> - <para> - Return all current regular resources as an array. - </para> - <para> - <example> - <title><function>apd_dump_regular_resources</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.2 $ --> +<refentry id="function.apd-dump-regular-resources"> + <refnamediv> + <refname>apd_dump_regular_resources</refname> + <refpurpose>Return all current regular resources as an array</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>array</type><methodname>apd_dump_regular_resources</methodname> + <void/> + </methodsynopsis> + <para> + Return all current regular resources as an array. + </para> + <para> + <example> + <title><function>apd_dump_regular_resources</function> example</title> + <programlisting role="php"> <![CDATA[ <?php print_r(apd_dump_regular_resources()); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-echo.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-echo.xml diff -u phpdoc/en/reference/apd/functions/apd-echo.xml:1.5 phpdoc/en/reference/apd/functions/apd-echo.xml:1.6 --- phpdoc/en/reference/apd/functions/apd-echo.xml:1.5 Thu Jun 23 16:53:18 2005 +++ phpdoc/en/reference/apd/functions/apd-echo.xml Sat Sep 16 20:33:25 2006 @@ -1,35 +1,34 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-echo"> - <refnamediv> - <refname>apd_echo</refname> - <refpurpose>Echo to the debugging socket</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>apd_echo</methodname> - <methodparam><type>string</type><parameter>output</parameter></methodparam> - </methodsynopsis> - <para> - Usually sent via the socket to request information about the running - script. - </para> - <para> - <example> - <title><function>apd_echo</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.6 $ --> +<refentry id="function.apd-echo"> + <refnamediv> + <refname>apd_echo</refname> + <refpurpose>Echo to the debugging socket</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>apd_echo</methodname> + <methodparam><type>string</type><parameter>output</parameter></methodparam> + </methodsynopsis> + <para> + Usually sent via the socket to request information about the running + script. + </para> + <para> + <example> + <title><function>apd_echo</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_echo($i); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-get-active-symbols.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-get-active-symbols.xml diff -u phpdoc/en/reference/apd/functions/apd-get-active-symbols.xml:1.2 phpdoc/en/reference/apd/functions/apd-get-active-symbols.xml:1.3 --- phpdoc/en/reference/apd/functions/apd-get-active-symbols.xml:1.2 Thu Aug 19 12:14:45 2004 +++ phpdoc/en/reference/apd/functions/apd-get-active-symbols.xml Sat Sep 16 20:33:25 2006 @@ -1,35 +1,34 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-get-active-symbols"> - <refnamediv> - <refname>apd_get_active_symbols</refname> - <refpurpose>Get an array of the current variables names in the local scope</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>array</type><methodname>apd_get_active_symbols</methodname> - <methodparam><parameter/></methodparam> - </methodsynopsis> - <para> - Returns the names of all the variables defined in the active scope, (not - their values) - </para> - <para> - <example> - <title><function>apd_get_active_symbols</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.3 $ --> +<refentry id="function.apd-get-active-symbols"> + <refnamediv> + <refname>apd_get_active_symbols</refname> + <refpurpose>Get an array of the current variables names in the local scope</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>array</type><methodname>apd_get_active_symbols</methodname> + <methodparam><parameter/></methodparam> + </methodsynopsis> + <para> + Returns the names of all the variables defined in the active scope, (not + their values) + </para> + <para> + <example> + <title><function>apd_get_active_symbols</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_echo(apd_get_active_symbols()); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-set-pprof-trace.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-set-pprof-trace.xml diff -u phpdoc/en/reference/apd/functions/apd-set-pprof-trace.xml:1.2 phpdoc/en/reference/apd/functions/apd-set-pprof-trace.xml:1.3 --- phpdoc/en/reference/apd/functions/apd-set-pprof-trace.xml:1.2 Tue Sep 28 04:35:03 2004 +++ phpdoc/en/reference/apd/functions/apd-set-pprof-trace.xml Sat Sep 16 20:33:25 2006 @@ -1,35 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> - <refentry id="function.apd-set-pprof-trace"> - <refnamediv> - <refname>apd_set_pprof_trace</refname> - <refpurpose>Starts the session debugging</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>apd_set_pprof_trace</methodname> - <methodparam choice="opt"><type>string</type><parameter>dump_directory</parameter></methodparam> - </methodsynopsis> - <para> - Starts debugging to {dump_directory}/pprof_{process_id}, if - dump_directory is not set, then the apd.dumpdir setting from the - &php.ini; file is used. - </para> - <para> - <example> - <title><function>apd_set_pprof_trace</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.3 $ --> +<refentry id="function.apd-set-pprof-trace"> + <refnamediv> + <refname>apd_set_pprof_trace</refname> + <refpurpose>Starts the session debugging</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>void</type><methodname>apd_set_pprof_trace</methodname> + <methodparam choice="opt"><type>string</type><parameter>dump_directory</parameter></methodparam> + </methodsynopsis> + <para> + Starts debugging to {dump_directory}/pprof_{process_id}, if + dump_directory is not set, then the apd.dumpdir setting from the + &php.ini; file is used. + </para> + <para> + <example> + <title><function>apd_set_pprof_trace</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_set_pprof_trace(); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-set-session-trace.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-set-session-trace.xml diff -u phpdoc/en/reference/apd/functions/apd-set-session-trace.xml:1.2 phpdoc/en/reference/apd/functions/apd-set-session-trace.xml:1.3 --- phpdoc/en/reference/apd/functions/apd-set-session-trace.xml:1.2 Fri Aug 13 16:12:04 2004 +++ phpdoc/en/reference/apd/functions/apd-set-session-trace.xml Sat Sep 16 20:33:25 2006 @@ -1,29 +1,28 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-set-session-trace"> - <refnamediv> - <refname>apd_set_session_trace</refname> - <refpurpose>Starts the session debugging</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>apd_set_session_trace</methodname> - <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>dump_directory</parameter></methodparam> - </methodsynopsis> - <para> - Starts debugging to {dump_directory}/apd_dump_{process_id}, if - dump_directory is not set, then the apd.dumpdir setting from the - &php.ini; file is used. - </para> - <para> - debug_level is an integer which is formed by adding together the following - values: - </para> - <para> - <programlisting role="script"> +<!-- $Revision: 1.3 $ --> +<refentry id="function.apd-set-session-trace"> + <refnamediv> + <refname>apd_set_session_trace</refname> + <refpurpose>Starts the session debugging</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>void</type><methodname>apd_set_session_trace</methodname> + <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>dump_directory</parameter></methodparam> + </methodsynopsis> + <para> + Starts debugging to {dump_directory}/apd_dump_{process_id}, if + dump_directory is not set, then the apd.dumpdir setting from the + &php.ini; file is used. + </para> + <para> + debug_level is an integer which is formed by adding together the following + values: + </para> + <para> + <programlisting role="script"> <![CDATA[ FUNCTION_TRACE 1 ARGS_TRACE 2 @@ -33,28 +32,28 @@ TIMING_TRACE 32 SUMMARY_TRACE 64 ]]> - </programlisting> - </para> - <para> - I would seriously not recommend using MEMORY_TRACE. It is very slow and - does not appear to be accurate (great, huh?) also ASSIGNMENT_TRACE is not - implemented. So, to turn on all functional traces (TIMING, FUNCTIONS, ARGS - SUMMARY (like strace -c)) use the value 99 - </para> - <para> - <example> - <title><function>apd_set_session_trace</function> example</title> - <programlisting role="php"> + </programlisting> + </para> + <para> + I would seriously not recommend using MEMORY_TRACE. It is very slow and + does not appear to be accurate (great, huh?) also ASSIGNMENT_TRACE is not + implemented. So, to turn on all functional traces (TIMING, FUNCTIONS, ARGS + SUMMARY (like strace -c)) use the value 99 + </para> + <para> + <example> + <title><function>apd_set_session_trace</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_set_session_trace(99); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-set-session.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-set-session.xml diff -u phpdoc/en/reference/apd/functions/apd-set-session.xml:1.2 phpdoc/en/reference/apd/functions/apd-set-session.xml:1.3 --- phpdoc/en/reference/apd/functions/apd-set-session.xml:1.2 Fri Aug 13 16:12:04 2004 +++ phpdoc/en/reference/apd/functions/apd-set-session.xml Sat Sep 16 20:33:25 2006 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-set-session"> - <refnamediv> - <refname>apd_set_session</refname> - <refpurpose>Changes or sets the current debugging level</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>apd_set_session</methodname> - <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> - </methodsynopsis> - <para> - This can be used to increase or decrease debugging in a different area of - your application,.debug_level is an integer which is formed by adding - together the following values: - </para> - <para> - <programlisting role="script"> +<!-- $Revision: 1.3 $ --> +<refentry id="function.apd-set-session"> + <refnamediv> + <refname>apd_set_session</refname> + <refpurpose>Changes or sets the current debugging level</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>void</type><methodname>apd_set_session</methodname> + <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> + </methodsynopsis> + <para> + This can be used to increase or decrease debugging in a different area of + your application,.debug_level is an integer which is formed by adding + together the following values: + </para> + <para> + <programlisting role="script"> <![CDATA[ FUNCTION_TRACE 1 ARGS_TRACE 2 @@ -28,22 +27,22 @@ TIMING_TRACE 32 SUMMARY_TRACE 64 ]]> - </programlisting> - </para> - <para> - <example> - <title><function>apd_set_session</function> example</title> - <programlisting role="php"> + </programlisting> + </para> + <para> + <example> + <title><function>apd_set_session</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_set_session(9); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/apd-set-socket-session-trace.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/apd/functions/apd-set-socket-session-trace.xml diff -u phpdoc/en/reference/apd/functions/apd-set-socket-session-trace.xml:1.3 phpdoc/en/reference/apd/functions/apd-set-socket-session-trace.xml:1.4 --- phpdoc/en/reference/apd/functions/apd-set-socket-session-trace.xml:1.3 Tue Nov 23 09:38:16 2004 +++ phpdoc/en/reference/apd/functions/apd-set-socket-session-trace.xml Sat Sep 16 20:33:25 2006 @@ -1,36 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.apd-set-socket-session-trace"> - <refnamediv> - <refname>apd_set_socket_session_trace</refname> - <refpurpose>Starts the remote session debugging</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>apd_set_socket_session_trace</methodname> - <methodparam><type>string</type><parameter>ip_address_or_unix_socket_file</parameter></methodparam> - <methodparam><type>int</type><parameter>socket_type</parameter></methodparam> - <methodparam><type>int</type><parameter>port</parameter></methodparam> - <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> - </methodsynopsis> - <para> - Connects to the tcp server (eg. tcplisten) specified IP or Unix Domain - socket (like a file), and sends debugging data to the socket. You can - use any port, but higher numbers are better as most of the lower numbers - may be used by other system services. - </para> - <para> - the socket_type can be APD_AF_UNIX (for file based sockets) or APD_AF_INET - (for standard tcp/ip) - </para> - <para> - debug_level is an integer which is formed by adding together the following - values: - </para> - <para> - <programlisting role="script"> +<!-- $Revision: 1.4 $ --> +<refentry id="function.apd-set-socket-session-trace"> + <refnamediv> + <refname>apd_set_socket_session_trace</refname> + <refpurpose>Starts the remote session debugging</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>apd_set_socket_session_trace</methodname> + <methodparam><type>string</type><parameter>ip_address_or_unix_socket_file</parameter></methodparam> + <methodparam><type>int</type><parameter>socket_type</parameter></methodparam> + <methodparam><type>int</type><parameter>port</parameter></methodparam> + <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> + </methodsynopsis> + <para> + Connects to the tcp server (eg. tcplisten) specified IP or Unix Domain + socket (like a file), and sends debugging data to the socket. You can + use any port, but higher numbers are better as most of the lower numbers + may be used by other system services. + </para> + <para> + the socket_type can be APD_AF_UNIX (for file based sockets) or APD_AF_INET + (for standard tcp/ip) + </para> + <para> + debug_level is an integer which is formed by adding together the following + values: + </para> + <para> + <programlisting role="script"> <![CDATA[ FUNCTION_TRACE 1 ARGS_TRACE 2 @@ -40,27 +39,27 @@ TIMING_TRACE 32 SUMMARY_TRACE 64 ]]> - </programlisting> - </para> - <para> - I would seriously not recommend setting the value to 'zero' to start with, - and use the breakpoint methods to start debugging at a specific place in - the file. - </para> - <para> - <example> - <title><function>apd_set_socket_session_trace</function> example</title> - <programlisting role="php"> + </programlisting> + </para> + <para> + I would seriously not recommend setting the value to 'zero' to start with, + and use the breakpoint methods to start debugging at a specific place in + the file. + </para> + <para> + <example> + <title><function>apd_set_socket_session_trace</function> example</title> + <programlisting role="php"> <![CDATA[ <?php apd_set_socket_session_trace("127.0.0.1",APD_AF_INET,7112,0); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/override-function.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/apd/functions/override-function.xml diff -u phpdoc/en/reference/apd/functions/override-function.xml:1.2 phpdoc/en/reference/apd/functions/override-function.xml:1.3 --- phpdoc/en/reference/apd/functions/override-function.xml:1.2 Fri Aug 13 16:12:04 2004 +++ phpdoc/en/reference/apd/functions/override-function.xml Sat Sep 16 20:33:25 2006 @@ -1,37 +1,36 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.override-function"> - <refnamediv> - <refname>override_function</refname> - <refpurpose>Overrides built-in functions</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>override_function</methodname> - <methodparam><type>string</type><parameter>function_name</parameter></methodparam> - <methodparam><type>string</type><parameter>function_args</parameter></methodparam> - <methodparam><type>string</type><parameter>function_code</parameter></methodparam> - </methodsynopsis> - <para> - Syntax similar to create_function(). Overrides built-in functions - (replaces them in the symbol table). - </para> - <para> - <example> - <title><function>override_function</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.3 $ --> +<refentry id="function.override-function"> + <refnamediv> + <refname>override_function</refname> + <refpurpose>Overrides built-in functions</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>override_function</methodname> + <methodparam><type>string</type><parameter>function_name</parameter></methodparam> + <methodparam><type>string</type><parameter>function_args</parameter></methodparam> + <methodparam><type>string</type><parameter>function_code</parameter></methodparam> + </methodsynopsis> + <para> + Syntax similar to create_function(). Overrides built-in functions + (replaces them in the symbol table). + </para> + <para> + <example> + <title><function>override_function</function> example</title> + <programlisting role="php"> <![CDATA[ <?php override_function('test', '$a,$b', 'echo "DOING TEST"; return $a * $b;'); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apd/functions/rename-function.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/apd/functions/rename-function.xml diff -u phpdoc/en/reference/apd/functions/rename-function.xml:1.4 phpdoc/en/reference/apd/functions/rename-function.xml:1.5 --- phpdoc/en/reference/apd/functions/rename-function.xml:1.4 Fri Aug 13 16:12:04 2004 +++ phpdoc/en/reference/apd/functions/rename-function.xml Sat Sep 16 20:33:25 2006 @@ -1,36 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> - <refentry id="function.rename-function"> - <refnamediv> - <refname>rename_function</refname> - <refpurpose>Renames orig_name to new_name in the global function_table</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>rename_function</methodname> - <methodparam><type>string</type><parameter>original_name</parameter></methodparam> - <methodparam><type>string</type><parameter>new_name</parameter></methodparam> - </methodsynopsis> - <para> - Renames orig_name to new_name in the global function_table. Useful - for temporarily overriding builtin functions. - </para> - <para> - <example> - <title><function>rename_function</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.5 $ --> +<refentry id="function.rename-function"> + <refnamediv> + <refname>rename_function</refname> + <refpurpose>Renames orig_name to new_name in the global function_table</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>bool</type><methodname>rename_function</methodname> + <methodparam><type>string</type><parameter>original_name</parameter></methodparam> + <methodparam><type>string</type><parameter>new_name</parameter></methodparam> + </methodsynopsis> + <para> + Renames orig_name to new_name in the global function_table. Useful + for temporarily overriding builtin functions. + </para> + <para> + <example> + <title><function>rename_function</function> example</title> + <programlisting role="php"> <![CDATA[ <?php rename_function('mysql_connect', 'debug_mysql_connect' ); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc (#969374034) next »