cvs: phpdoc-ja /reference/apd .cvsignore configure.xml ini.xml reference.xml /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: | TAKAGI Masahiro | Date: | Tue, 16 Aug 2005 21:36:24 +0000 |
| Subject: | cvs: phpdoc-ja /reference/apd .cvsignore configure.xml ini.xml reference.xml /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.ja | ||
| Request: | Send a blank email to doc-ja+get-1130@lists.php.net to get a copy of this message | ||
takagi Tue Aug 16 17:36:24 2005 EDT
Added files:
/phpdoc-ja/reference/apd/functions rename-function.xml
override-function.xml
apd-set-socket-session-trace.xml
apd-set-session.xml
apd-set-session-trace.xml
apd-set-pprof-trace.xml
apd-get-active-symbols.xml
apd-echo.xml
apd-dump-regular-resources.xml
apd-dump-persistent-resources.xml
apd-dump-function-table.xml
apd-croak.xml apd-continue.xml
apd-clunk.xml apd-callstack.xml
apd-breakpoint.xml
/phpdoc-ja/reference/apd reference.xml ini.xml configure.xml
.cvsignore
Log:
added japanese manual.
http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/rename-function.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/rename-function.xml +++ phpdoc-ja/reference/apd/functions/rename-function.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry id="function.rename-function"> <refnamediv> <refname>rename_function</refname> <refpurpose>ã°ãã¼ãã«ã®é¢æ°ãã¼ãã«ã§é¢æ°åã夿´ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> ã°ãã¼ãã«ã®é¢æ°ãã¼ãã«ã§é¢æ°åã夿´ãã¾ãã 䏿çã«çµã¿è¾¼ã¿é¢æ°ã䏿¸ãããéã«æç¨ã§ãã </para> <para> <example> <title><function>rename_function</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php rename_function('mysql_connect', 'debug_mysql_connect' ); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/override-function.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/override-function.xml +++ phpdoc-ja/reference/apd/functions/override-function.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.override-function"> <refnamediv> <refname>override_function</refname> <refpurpose>çµã¿è¾¼ã¿ã®é¢æ°ã䏿¸ããã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> æ¸å¼ã¯ create_function() ã¨ä¼¼ã¦ãã¾ããçµã¿è¾¼ã¿ã®é¢æ°ã䏿¸ããã¾ã ï¼ã·ã³ãã«ãã¼ãã«ãæ¸ãæãã¾ãï¼ã </para> <para> <example> <title><function>override_function</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php override_function('test', '$a,$b', 'echo "DOING TEST"; return $a * $b;'); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-set-socket-session-trace.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-set-socket-session-trace.xml +++ phpdoc-ja/reference/apd/functions/apd-set-socket-session-trace.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="function.apd-set-socket-session-trace"> <refnamediv> <refname>apd_set_socket_session_trace</refname> <refpurpose>ãªã¢ã¼ãã»ãã·ã§ã³ã®ãããã°ãéå§ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> IP ãï¼ãã¡ã¤ã«ã®ãããªï¼Unix ãã¡ã¤ã³ã½ã±ããã§æå®ããã TCP ãµã¼ã ï¼ä¾: tcplistenï¼ã«æ¥ç¶ãããããã°ãã¼ã¿ãã½ã±ããã«éä¿¡ãã¾ãã ã©ã®ãã¼ãçªå·ã§ã使ç¨å¯è½ã§ãããå°ããªçªå·ã¯ä»ã®ã·ã¹ãã ã§ å©ç¨ããã¦ããå¯è½æ§ãããã®ã§å¤§ããã®çªå·ãæ¨å¥¨ãã¾ãã </para> <para> socket_type 㯠APD_AF_UNIXï¼ãã¡ã¤ã«ãã¼ã¹ã®ã½ã±ããï¼ããã㯠APD_AF_INET ï¼æ¨æº TCP/IPï¼ã®ããããã§ãã </para> <para> debug_level ã¯ä»¥ä¸ã®æ´æ°å¤ãçµã¿åãããåã§ãã </para> <para> <programlisting role="script"> <![CDATA[ FUNCTION_TRACE 1 ARGS_TRACE 2 ASSIGNMENT_TRACE 4 STATEMENT_TRACE 8 MEMORY_TRACE 16 TIMING_TRACE 32 SUMMARY_TRACE 64 ]]> </programlisting> </para> <para> ãã®å¤ããã¼ããã«ãã¦éå§ãããã¨ã¯æ¨å¥¨ãã¾ããããã¡ã¤ã«å ã® æå®ããå ´æã§ãããã°ãéå§ããã«ã¯ããã¬ã¼ã¯ãã¤ã³ãã¡ã½ããã 使ç¨ãã¾ãã </para> <para> <example> <title><function>apd_set_socket_session_trace</function> ã®ä¾</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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-set-session.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-set-session.xml +++ phpdoc-ja/reference/apd/functions/apd-set-session.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-set-session"> <refnamediv> <refname>apd_set_session</refname> <refpurpose>ã«ã¬ã³ãã®ãããã°ã¬ãã«ã夿´ãããã¯è¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>void</type><methodname>apd_set_session</methodname> <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> </methodsynopsis> <para> ã¢ããªã±ã¼ã·ã§ã³å ã§ãå ´æã«ãã£ã¦ãããã°ã®ã¬ãã«ã墿¸ããé㫠使ç¨å¯è½ã§ããdebug_level ã¯ä»¥ä¸ã®æ´æ°å¤ãçµã¿åãããåã§ãã </para> <para> <programlisting role="script"> <![CDATA[ FUNCTION_TRACE 1 ARGS_TRACE 2 ASSIGNMENT_TRACE 4 STATEMENT_TRACE 8 MEMORY_TRACE 16 TIMING_TRACE 32 SUMMARY_TRACE 64 ]]> </programlisting> </para> <para> <example> <title><function>apd_set_session</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_set_session(9); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-set-session-trace.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-set-session-trace.xml +++ phpdoc-ja/reference/apd/functions/apd-set-session-trace.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-set-session-trace"> <refnamediv> <refname>apd_set_session_trace</refname> <refpurpose>ã»ãã·ã§ã³ã®ãããã°ãéå§ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> {dump_directory}/apd_dump_{process_id} ã¸ã®ãããã°ãéå§ãã¾ãã dump_directory ãæå®ããã¦ããªãå ´åã¯ã&php.ini; ãã¡ã¤ã«ã® apd.dumpdir è¨å®ã使ç¨ããã¾ãã </para> <para> debug_level ã¯ä»¥ä¸ã®æ´æ°å¤ãçµã¿åãããåã§ãã </para> <para> <programlisting role="script"> <![CDATA[ FUNCTION_TRACE 1 ARGS_TRACE 2 ASSIGNMENT_TRACE 4 STATEMENT_TRACE 8 MEMORY_TRACE 16 TIMING_TRACE 32 SUMMARY_TRACE 64 ]]> </programlisting> </para> <para> MEMORY_TRACE ã使ç¨ãããã¨ã¯æ¨å¥¨ãã¾ãããããã¯å¤§å¤é ãããã« ãã¾ãæ£ç¢ºã§ã¯ããã¾ããï¼ãããããã®ã ãï¼ï¼ãã¾ããASSIGNMENT_TRACE ã¯å®è£ ããã¦ãã¾ããããããã£ã¦ãã¾ã¨ãã«åä½ãããã¹ã¦ã®æ©è½ ï¼TIMING, FUNCTIONS, ARGS SUMMARYï¼strace -c ã®ãããªï¼ï¼ã 使ç¨ããã«ã¯ã99 ãæå®ãã¾ãã </para> <para> <example> <title><function>apd_set_session_trace</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_set_session_trace(99); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-set-pprof-trace.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-set-pprof-trace.xml +++ phpdoc-ja/reference/apd/functions/apd-set-pprof-trace.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-set-pprof-trace"> <refnamediv> <refname>apd_set_pprof_trace</refname> <refpurpose>ã»ãã·ã§ã³ã®ãããã°ãéå§ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>void</type><methodname>apd_set_pprof_trace</methodname> <methodparam choice="opt"><type>string</type><parameter>dump_directory</parameter></methodparam> </methodsynopsis> <para> {dump_directory}/pprof_{process_id} ã¸ã®ãããã°ãéå§ãã¾ãã dump_directory ãæå®ããã¦ããªãå ´åã¯ã&php.ini; ãã¡ã¤ã«ã® apd.dumpdir è¨å®ã使ç¨ããã¾ãã </para> <para> <example> <title><function>apd_set_pprof_trace</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_set_pprof_trace(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-get-active-symbols.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-get-active-symbols.xml +++ phpdoc-ja/reference/apd/functions/apd-get-active-symbols.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-get-active-symbols"> <refnamediv> <refname>apd_get_active_symbols</refname> <refpurpose>ãã¼ã«ã«ã¹ã³ã¼ãå ã®ã«ã¬ã³ãã®å¤æ°åãé åã§åå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>apd_get_active_symbols</methodname> <methodparam><parameter/></methodparam> </methodsynopsis> <para> ã¢ã¯ãã£ããªã¹ã³ã¼ãå ã§å®ç¾©ããã¦ãããã¹ã¦ã®å¤æ°åãè¿ãã¾ã ï¼å¤æ°ã®å¤ã§ã¯ããã¾ããï¼ã </para> <para> <example> <title><function>apd_get_active_symbols</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_echo(apd_get_active_symbols()); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-echo.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-echo.xml +++ phpdoc-ja/reference/apd/functions/apd-echo.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> <refentry id="function.apd-echo"> <refnamediv> <refname>apd_echo</refname> <refpurpose>ãããã°ç¨ã½ã±ããã«è¡¨ç¤ºãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>apd_echo</methodname> <methodparam><type>string</type><parameter>output</parameter></methodparam> </methodsynopsis> <para> å®è¡ä¸ã®ã¹ã¯ãªããã«é¢ããæ å ±ããä¸è¬çã«ã¯ã½ã±ããçµç±ã§ ãªã¯ã¨ã¹ããã¾ãã </para> <para> <example> <title><function>apd_echo</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_echo($i); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-dump-regular-resources.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-dump-regular-resources.xml +++ phpdoc-ja/reference/apd/functions/apd-dump-regular-resources.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.apd-dump-regular-resources"> <refnamediv> <refname>apd_dump_regular_resources</refname> <refpurpose>ã«ã¬ã³ãã®ãã¹ã¦ã®ä¸è¬ãªã½ã¼ã¹ãé åã§è¿ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>apd_dump_regular_resources</methodname> <void/> </methodsynopsis> <para> ã«ã¬ã³ãã®ãã¹ã¦ã®ä¸è¬ãªã½ã¼ã¹ãé åã§è¿ãã¾ãã </para> <para> <example> <title><function>apd_dump_regular_resources</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php print_r(apd_dump_regular_resources()); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-dump-persistent-resources.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-dump-persistent-resources.xml +++ phpdoc-ja/reference/apd/functions/apd-dump-persistent-resources.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.apd-dump-persistent-resources"> <refnamediv> <refname>apd_dump_persistent_resources</refname> <refpurpose>ãã¹ã¦ã®æç¶çãªãªã½ã¼ã¹ãé åã§è¿ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>apd_dump_persistent_resources</methodname> <void/> </methodsynopsis> <para> ãã¹ã¦ã®æç¶çãªãªã½ã¼ã¹ãé åã§è¿ãã¾ãã </para> <para> <example> <title><function>apd_dump_persistent_resources</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php print_r(apd_dump_persistent_resources()); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-dump-function-table.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-dump-function-table.xml +++ phpdoc-ja/reference/apd/functions/apd-dump-function-table.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-dump-function-table"> <refnamediv> <refname>apd_dump_function_table</refname> <refpurpose>ã«ã¬ã³ãã®é¢æ°ãã¼ãã«ãåºåãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>void</type><methodname>apd_dump_function_table</methodname> <void/> </methodsynopsis> <para> ã«ã¬ã³ãã®é¢æ°ãã¼ãã«ãåºåãã¾ãã </para> <para> <example> <title><function>apd_dump_function_table</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_dump_function_table(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-croak.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-croak.xml +++ phpdoc-ja/reference/apd/functions/apd-croak.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-croak"> <refnamediv> <refname>apd_croak</refname> <refpurpose>ã¨ã©ã¼ã¨ã³ã¼ã«ã¹ã¿ãã¯ãã¹ãã¼ããçµäºãã</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> perl ã® Carp::croak ã¨åãããã«åä½ãã¾ããã¨ã©ã¼ã¨ã³ã¼ã«ããã¯ã ã¹ãã¼ããçµäºãã¾ããããã©ã«ãã®è¡åºåãæå㯠"<BR />\n" ã§ãã </para> <para> <example> <title><function>apd_croak</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_croak("Some Warning","<P>"); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-continue.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-continue.xml +++ phpdoc-ja/reference/apd/functions/apd-continue.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> <refentry id="function.apd-continue"> <refnamediv> <refname>apd_continue</refname> <refpurpose>ã¤ã³ã¿ããªã¿ãåéãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>apd_continue</methodname> <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> </methodsynopsis> <para> ã¤ã³ã¿ããªã¿ãåéããããã«ãä¸è¬çã«ã¯ã¯ã½ã±ããçµç±ã§éä¿¡ãã¾ãã </para> <para> <example> <title><function>apd_continue</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_continue(0); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-clunk.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-clunk.xml +++ phpdoc-ja/reference/apd/functions/apd-clunk.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-clunk"> <refnamediv> <refname>apd_clunk</refname> <refpurpose>è¦åã¨ã³ã¼ã«ã¹ã¿ãã¯ãã¹ãã¼ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> perl ã® Carp::cluck ã¨åãããã«åä½ãã¾ããè¦åã¨ã³ã¼ã«ããã¯ã ã¹ãã¼ãã¾ããããã©ã«ãã®è¡åºåãæå㯠"<BR />\n" ã§ãã </para> <para> <example> <title><function>apd_clunk</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_clunk("Some Warning","<P>"); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-callstack.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-callstack.xml +++ phpdoc-ja/reference/apd/functions/apd-callstack.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.apd-callstack"> <refnamediv> <refname>apd_callstack</refname> <refpurpose>ã«ã¬ã³ãã®ã³ã¼ã«ã¹ã¿ãã¯ãé åã§è¿ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>apd_callstack</methodname> <void/> </methodsynopsis> <para> ã«ã¬ã³ãã®ã³ã¼ã«ã¹ã¿ãã¯ãé åå½¢å¼ã§è¿ãã¾ãã </para> <para> <example> <title><function>apd_callstack</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php print_r(apd_callstack()); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-breakpoint.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-breakpoint.xml +++ phpdoc-ja/reference/apd/functions/apd-breakpoint.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="function.apd-breakpoint"> <refnamediv> <refname>apd_breakpoint</refname> <refpurpose>ã¤ã³ã¿ããªã¿ã®å¦çã忢ããã½ã±ããããã® CR ãå¾ ã¤</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>apd_breakpoint</methodname> <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> </methodsynopsis> <para> ã¹ã¯ãªããã®å®è¡ã忢ããæ¥ç¶ãã¦ããã½ã±ããããã®å¿çãå¾ ã¡åãã ããã«ä½¿ç¨ãã¾ããããã°ã©ã ã®ã¹ãããå®è¡ãè¡ãã«ã¯ãEnter ãã¼ãæ¼ã ï¼ç©ºè¡ãéãï¼ãããã¯å®è¡ããã PHP ã³ãã³ããå ¥åãã¾ããtcplisten ãç¨ããå ¸åçãªã»ãã·ã§ã³ã¯ããã®ããã«ãªãã¾ãã </para> <para> <programlisting role="shell"> <![CDATA[ bash#tcplisten localhost 7777 APD - Advanced PHP Debugger Trace File --------------------------------------------------------------------------- Process Pid (6118) Trace Begun at Sun Mar 10 23:13:12 2002 --------------------------------------------------------------------------- ( 0.000000): apd_set_session_trace called at /home/alan/Projects/project2/test. php:5 ( 0.074824): apd_set_session_trace_socket() at /home/alan/Projects/project2/tes t.php:5 returned. Elapsed (0.074824) ( 0.074918): apd_breakpoint() /home/alan/Projects/project2/test.php:7 ++ argv[0] $(??) = 9 apd_breakpoint() at /home/alan/Projects/project2/test.php:7 returned. Elapsed ( -2089521468.1073275368) >\n statement: /home/alan/Projects/project2/test.php:8 >\n statement: /home/alan/Projects/project2/test.php:8 >\n statement: /home/alan/Projects/project2/test.php:10 >apd_echo($i); EXEC: apd_echo($i); 0 >apd_echo(serialize(apd_get_active_symbols())); EXEC: apd_echo(serialize(apd_get_active_symbols())); a:47:{i:0;s:4:"PWD";i:1;s:10:"COLORFGBG";i:2;s:11:"XAUTHORITY";i:3;s:14:" COLORTERM_BCE";i:4;s:9:"WINDOWID";i:5;s:14:"ETERM_VERSION";i:6;s:16:"SE SSION_MANAGER";i:7;s:4:"PS1";i:8;s:11:"GDMSESSION";i:9;s:5:"USER";i:10;s:5:" MAIL";i:11;s:7:"OLDPWD";i:12;s:5:"LANG";i:13;s:10:"COLORTERM";i:14;s:8:"DISP LAY";i:15;s:8:"LOGNAME";i:16;s:6:" >apd_echo(system('ls /home/mydir'));......... >apd_continue(0); ]]> </programlisting> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/reference.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/reference.xml +++ phpdoc-ja/reference/apd/reference.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <reference id="ref.apd"> <title>Advanced PHP Debugger (APD)</title> <titleabbrev>APD</titleabbrev> <partintro> <section id="apd.intro"> &reftitle.intro; <para> APD ã¯é²åãã PHP ãããã¬ã§ããPHP ã³ã¼ãã®ãããã¡ã¤ãªã³ã°ã ãããã°ã®æ©è½ãæä¾ãããã¨ãã¾ãå®å ¨ãªã¹ã¿ãã¯ãã¬ã¼ã¹ãåºåãã æ©è½ãæä¾ãããã¨ãç®çã¨ãã¦ä½æããã¦ãã¾ããAPD ã¯å¯¾è©±å½¢å¼ã® ãããã°ããµãã¼ããã¦ãã¾ãããããã©ã«ãã§ã¯ãã¼ã¿ããã¬ã¼ã¹ ãã¡ã¤ã«ã«æ¸ãåºãããã«ãªã£ã¦ãã¾ããã¾ãããã¾ãã¾ãªã¬ãã«ã® æ å ±ï¼é¢æ°ã®ã³ã¼ã«ã»æ¸¡ããã弿°ã»æéãªã©ãå«ãï¼ãã¤ãã³ãçºçæã« è¨é²ãããã¨ãã§ãããããåã ã®ã¹ã¯ãªããåä½ã§æå¹ã«ãããç¡å¹ã« ãããã§ãã¾ãã <caution> <para> APD 㯠Zend æ¡å¼µã¢ã¸ã¥ã¼ã«ã§ãPHP å é¨é¢æ°ã®ã³ã¼ã«æ¹æ³ã«æãå ãã¾ãã ãã®ãããä»ã® Zend æ¡å¼µã¢ã¸ã¥ã¼ã«ï¼ãã¨ãã° Zend Optimizer ãªã©ï¼ã¨ã® ç¸æ§ã«æ³¨æãå¿ è¦ã§ãã </para> </caution> </para> </section> &reference.apd.configure; &reference.apd.ini; <section id="apd.resources"> &reftitle.resources; &no.resource; </section> <section id="apd.constants"> &reftitle.constants; &no.constants; </section> <section id="apd.examples"> <title>ã¹ã¯ãªããä¸ã§ PHP-APD ã使ç¨ããæ¹æ³</title> <procedure> <step> <para> ãã¬ã¼ã¹ãéå§ããã«ã¯ãPHP ã¹ã¯ãªããã®æåã®è¡ã§ apd_set_pprof_trace() 颿°ãã³ã¼ã«ãã¾ãã </para> <para> <programlisting role="php"> <![CDATA[ apd_set_pprof_trace(); ]]> </programlisting> </para> <para> ãã®è¡ã¯ã¹ã¯ãªããå ã®ã©ã®å ´æã«ã§ãæ¿å ¥å¯è½ã§ãããããã¹ã¯ãªããã® æåãããã¬ã¼ã¹ãå§ããªããã°ãããªããããã©ã¼ãã³ã¹ã®ããã«ããã¯ã« å°ãã¦ããããããããªããã¼ã¿ãæ¨ã¦ããã¨ã«ãªã£ã¦ãã¾ãã¾ãã </para> </step> <step> <para> ãããã¹ã¯ãªãããå®è¡ãã¾ãããããã³ãçµæã¯ <filename>apd.dumpdir/pprof_pid.ext</filename> ã«åºåããã¾ãã <tip> <para> CGI çã® PHP ã使ç¨ãã¦ããå ´åã¯ãapd ãæ£ããåä½ããããã« '-e' ãã©ã°ã¤ãã§å®è¡ããæ¡å¼µæ å ±ãæå¹ã«ãã¦ãã ããããã¨ãã° <userinput>php -e -f script.php</userinput> ã®ããã«å®è¡ãã¾ãã </para> </tip> </para> </step> <step> <para> ãããã¡ã¤ã«ãã¼ã¿ãæ´å½¢ãã¦è¡¨ç¤ºããã«ã¯ãã好ã¿ã®ä¸¦ã¹æ¿ããªãã·ã§ã³ã» 表示ãªãã·ã§ã³ãæå®ã㦠<command>pprofp</command> ã³ãã³ããå®è¡ ãã¦ãã ãããæ´å½¢ãããåºåã¯ä»¥ä¸ã®ããã«ãªãã¾ãã <screen> <![CDATA[ bash-2.05b$ pprofp -R /tmp/pprof.22141.0 Trace for /home/dan/testapd.php Total Elapsed Time = 0.00 Total System Time = 0.00 Total User Time = 0.00 Real User System secs/ cumm %Time (excl/cumm) (excl/cumm) (excl/cumm) Calls call s/call Memory Usage Name -------------------------------------------------------------------------------------- 100.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0009 0 main 56.9 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0005 0.0005 0 apd_set_pprof_trace 28.0 0.00 0.00 0.00 0.00 0.00 0.00 10 0.0000 0.0000 0 preg_replace 14.3 0.00 0.00 0.00 0.00 0.00 0.00 10 0.0000 0.0000 0 str_replace ]]> </screen> </para> <para> ãã®ä¾ã§ä½¿ããã¦ãã -R ãªãã·ã§ã³ã¯ããã®é¢æ°ãå®è¡ããã®ã«ããã£ãæéã® é ã§ãããã¡ã¤ã«ãã¼ãã«ãä¸¦ã¹æ¿ãã¾ãã"cumm call" åã«ã¯åã ã®é¢æ°ã ä½åã³ã¼ã«ããããããã㦠"s/call" åã«ã¯ 1 åã®ã³ã¼ã«ãããã® å¹³åæè¦æéã表示ããã¾ãã </para> </step> <step> <para> KCacheGrind ã«ã¤ã³ãã¼ãã§ããå½¢å¼ã®ãã¡ã¤ã«ã使ããã«ã¯ã <command>pprof2calltree</command> ã³ãã³ããå®è¡ãã¦ãã ããã </para> </step> </procedure> </section> <section id="apd.contact"> <title>é£çµ¡å ã®æ å ±</title> <para> ã³ã¡ã³ãã»ãã°ãã£ãã¯ã¹ã»æ©è½æ¡å¼µã»ãããã¯éçºãæä¼ããããªã©ã®å ´åã¯ã ã¡ã¼ã«ã <ulink url="mailto:&email.apd;">&email.apd;</ulink> ã«éã£ã¦ãã ããã大æè¿ãã¾ãã </para> </section> </partintro> &reference.apd.functions; </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/ini.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/ini.xml +++ phpdoc-ja/reference/apd/ini.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <section id="apd.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> <title>APD ã®è¨å®ãªãã·ã§ã³</title> <tgroup cols="4"> <thead> <row> <entry>åå</entry> <entry>ããã©ã«ã</entry> <entry>夿´ã®å¯å¦</entry> <entry>夿´å±¥æ´</entry> </row> </thead> <tbody> <row> <entry>apd.dumpdir</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> <entry>apd.statement_tracing</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> </tbody> </tgroup> </table> &ini.php.constants; </para> &ini.descriptions.title; <para> <variablelist> <varlistentry id="ini.apd.dumpdir"> <term> <parameter>apd.dumpdir</parameter> <type>string</type> </term> <listitem> <para> APD ããããã¡ã¤ã«ã®ãã³ããã¡ã¤ã«ãæ¸ãåºããã£ã¬ã¯ããªãè¨å®ãã¾ãã 絶対ãã¹ã»ç¸å¯¾ãã¹ã®ã©ã¡ããæå®å¯è½ã§ãã </para> <para> <function>apd_set_pprof_trace</function> ã¸å¼æ°ã渡ããã¨ã§ã æå®ãã以å¤ã®å ´æã«æ¸ãåºããã¨ãå¯è½ã§ãã </para> </listitem> </varlistentry> <varlistentry id="ini.apd.statement-tracing"> <term> <parameter>apd.statement_tracing</parameter> <type>boolean</type> </term> <listitem> <para> è¡åä½ã®ãã¬ã¼ã¹ããããããªãããè¨å®ãã¾ããããã on (1) ã«ããã¨ãã¢ããªã±ã¼ã·ã§ã³ã®ããã©ã¼ãã³ã¹ã«è¡æçãªå½±é¿ãä¸ãã¾ãã </para> </listitem> </varlistentry> </variablelist> </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/configure.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/configure.xml +++ phpdoc-ja/reference/apd/configure.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <section id="apd.installation"> &reftitle.install; <para> ç¾å¨ APD 㯠PECL æ¡å¼µã¢ã¸ã¥ã¼ã«ã¨ãã¦å ¬éããã¦ããã <ulink url="&url.pecl.package;apd">&url.pecl.package;apd</ulink> ã§å ¥æå¯è½ã§ããCGI çã® PHP ãã¤ã³ã¹ãã¼ã«ããã¦ããããã¹ã®éã£ãå ´æã« phpize ã¹ã¯ãªããããããã¨ã確ããã¦ãã ããã </para> <para> APD ã®ææ°å®å®ãã¼ã¸ã§ã³ããã¦ã³ãã¼ãã»ãã«ãã»ã¤ã³ã¹ãã¼ã«ããã«ã¯ 以ä¸ã®ã³ãã³ããå®è¡ãã¾ãã <screen> <![CDATA[ pear install apd ]]> </screen> </para> <para> ããã¯ãAPD Zend ã¢ã¸ã¥ã¼ã«ãèªåçã« PHP ã® extension ãã£ã¬ã¯ããªã« ã¤ã³ã¹ãã¼ã«ãã¾ããå¿ ããã®å ´æã§ãªããã°ãªããªãããã§ã¯ããã¾ããã zend_extension ãã©ã¡ã¼ã¿ãé©åã«è¨å®ããã°ãPHP ã èªã¿è¾¼ãããã£ã¬ã¯ããªãªãã©ãã«ã§ãã¤ã³ã¹ãã¼ã«å¯è½ã§ãã </para> <para> Windows ã¦ã¼ã¶ã¯ <ulink url="&url.pecl.get.win;">&url.pecl.get.win;</ulink> ãã <filename>php_apd.dll</filename> ããã¦ã³ãã¼ãã§ãã¾ãã </para> <para> INI ãã¡ã¤ã«ã«ä»¥ä¸ã®è¡ã追å ãã¾ãã </para> <para> <programlisting role="php.ini"> <![CDATA[ zend_extension = /absolute/path/to/apd.so apd.dumpdir = /absolute/path/to/trace/directory apd.statement_tracing = 0 ]]> </programlisting> </para> <para> PHP ã®ãã«ãç¶æ³ã«ãã£ã¦ãzend_extension ãã£ã¬ã¯ãã£ã㯠以ä¸ã®ãã¡ã®ããããã²ã¨ã¤ã¨ãªãã¾ãã </para> <para> <programlisting role="script"> <![CDATA[ zend_extension (é ZTS, é debug ãã«ã) zend_extension_ts ( ZTS, é debug ãã«ã) zend_extension_debug (é ZTS, debug ãã«ã) zend_extension_debug_ts ( ZTS, debug ãã«ã) ]]> </programlisting> </para> </section> <section id="apd.installwin32"> <title>Win32 ã§ã®ãã«ã</title> <para> Windows ã§ APD ããã«ãããã«ã¯ãhttp://php.net/ ã§è¿°ã¹ããã¦ãããã㪠PHP ã³ã³ãã¤ã«ç°å¢ãå¿ è¦ã§ãã -- åºæ¬çã«ã¯ãMicrosoft Visual C++ã» win32build.zipã»bison/flexã»ããã¦ãããããã¾ãåããããã®ã¡ãã£ã¨ãã ã³ããå¿ è¦ã«ãªãã¾ããã¾ã adp.dsp ã®æ¹è¡ã³ã¼ãã¯å¿ ã DOS å½¢å¼ã« ãã¦ãã ãããUnix å½¢å¼ã®æ¹è¡ã³ã¼ãã ã¨ãMicrosoft Visual C++ ã«æå¥ãè¨ããã¾ãã </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/.cvsignore?r=1.1&p=1 Index: phpdoc-ja/reference/apd/.cvsignore +++ phpdoc-ja/reference/apd/.cvsignore functions.xml
http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/rename-function.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/rename-function.xml +++ phpdoc-ja/reference/apd/functions/rename-function.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry id="function.rename-function"> <refnamediv> <refname>rename_function</refname> <refpurpose>ã°ãã¼ãã«ã®é¢æ°ãã¼ãã«ã§é¢æ°åã夿´ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> ã°ãã¼ãã«ã®é¢æ°ãã¼ãã«ã§é¢æ°åã夿´ãã¾ãã 䏿çã«çµã¿è¾¼ã¿é¢æ°ã䏿¸ãããéã«æç¨ã§ãã </para> <para> <example> <title><function>rename_function</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php rename_function('mysql_connect', 'debug_mysql_connect' ); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/override-function.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/override-function.xml +++ phpdoc-ja/reference/apd/functions/override-function.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.override-function"> <refnamediv> <refname>override_function</refname> <refpurpose>çµã¿è¾¼ã¿ã®é¢æ°ã䏿¸ããã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> æ¸å¼ã¯ create_function() ã¨ä¼¼ã¦ãã¾ããçµã¿è¾¼ã¿ã®é¢æ°ã䏿¸ããã¾ã ï¼ã·ã³ãã«ãã¼ãã«ãæ¸ãæãã¾ãï¼ã </para> <para> <example> <title><function>override_function</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php override_function('test', '$a,$b', 'echo "DOING TEST"; return $a * $b;'); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-set-socket-session-trace.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-set-socket-session-trace.xml +++ phpdoc-ja/reference/apd/functions/apd-set-socket-session-trace.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="function.apd-set-socket-session-trace"> <refnamediv> <refname>apd_set_socket_session_trace</refname> <refpurpose>ãªã¢ã¼ãã»ãã·ã§ã³ã®ãããã°ãéå§ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> IP ãï¼ãã¡ã¤ã«ã®ãããªï¼Unix ãã¡ã¤ã³ã½ã±ããã§æå®ããã TCP ãµã¼ã ï¼ä¾: tcplistenï¼ã«æ¥ç¶ãããããã°ãã¼ã¿ãã½ã±ããã«éä¿¡ãã¾ãã ã©ã®ãã¼ãçªå·ã§ã使ç¨å¯è½ã§ãããå°ããªçªå·ã¯ä»ã®ã·ã¹ãã ã§ å©ç¨ããã¦ããå¯è½æ§ãããã®ã§å¤§ããã®çªå·ãæ¨å¥¨ãã¾ãã </para> <para> socket_type 㯠APD_AF_UNIXï¼ãã¡ã¤ã«ãã¼ã¹ã®ã½ã±ããï¼ããã㯠APD_AF_INET ï¼æ¨æº TCP/IPï¼ã®ããããã§ãã </para> <para> debug_level ã¯ä»¥ä¸ã®æ´æ°å¤ãçµã¿åãããåã§ãã </para> <para> <programlisting role="script"> <![CDATA[ FUNCTION_TRACE 1 ARGS_TRACE 2 ASSIGNMENT_TRACE 4 STATEMENT_TRACE 8 MEMORY_TRACE 16 TIMING_TRACE 32 SUMMARY_TRACE 64 ]]> </programlisting> </para> <para> ãã®å¤ããã¼ããã«ãã¦éå§ãããã¨ã¯æ¨å¥¨ãã¾ããããã¡ã¤ã«å ã® æå®ããå ´æã§ãããã°ãéå§ããã«ã¯ããã¬ã¼ã¯ãã¤ã³ãã¡ã½ããã 使ç¨ãã¾ãã </para> <para> <example> <title><function>apd_set_socket_session_trace</function> ã®ä¾</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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-set-session.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-set-session.xml +++ phpdoc-ja/reference/apd/functions/apd-set-session.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-set-session"> <refnamediv> <refname>apd_set_session</refname> <refpurpose>ã«ã¬ã³ãã®ãããã°ã¬ãã«ã夿´ãããã¯è¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>void</type><methodname>apd_set_session</methodname> <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> </methodsynopsis> <para> ã¢ããªã±ã¼ã·ã§ã³å ã§ãå ´æã«ãã£ã¦ãããã°ã®ã¬ãã«ã墿¸ããé㫠使ç¨å¯è½ã§ããdebug_level ã¯ä»¥ä¸ã®æ´æ°å¤ãçµã¿åãããåã§ãã </para> <para> <programlisting role="script"> <![CDATA[ FUNCTION_TRACE 1 ARGS_TRACE 2 ASSIGNMENT_TRACE 4 STATEMENT_TRACE 8 MEMORY_TRACE 16 TIMING_TRACE 32 SUMMARY_TRACE 64 ]]> </programlisting> </para> <para> <example> <title><function>apd_set_session</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_set_session(9); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-set-session-trace.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-set-session-trace.xml +++ phpdoc-ja/reference/apd/functions/apd-set-session-trace.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-set-session-trace"> <refnamediv> <refname>apd_set_session_trace</refname> <refpurpose>ã»ãã·ã§ã³ã®ãããã°ãéå§ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> {dump_directory}/apd_dump_{process_id} ã¸ã®ãããã°ãéå§ãã¾ãã dump_directory ãæå®ããã¦ããªãå ´åã¯ã&php.ini; ãã¡ã¤ã«ã® apd.dumpdir è¨å®ã使ç¨ããã¾ãã </para> <para> debug_level ã¯ä»¥ä¸ã®æ´æ°å¤ãçµã¿åãããåã§ãã </para> <para> <programlisting role="script"> <![CDATA[ FUNCTION_TRACE 1 ARGS_TRACE 2 ASSIGNMENT_TRACE 4 STATEMENT_TRACE 8 MEMORY_TRACE 16 TIMING_TRACE 32 SUMMARY_TRACE 64 ]]> </programlisting> </para> <para> MEMORY_TRACE ã使ç¨ãããã¨ã¯æ¨å¥¨ãã¾ãããããã¯å¤§å¤é ãããã« ãã¾ãæ£ç¢ºã§ã¯ããã¾ããï¼ãããããã®ã ãï¼ï¼ãã¾ããASSIGNMENT_TRACE ã¯å®è£ ããã¦ãã¾ããããããã£ã¦ãã¾ã¨ãã«åä½ãããã¹ã¦ã®æ©è½ ï¼TIMING, FUNCTIONS, ARGS SUMMARYï¼strace -c ã®ãããªï¼ï¼ã 使ç¨ããã«ã¯ã99 ãæå®ãã¾ãã </para> <para> <example> <title><function>apd_set_session_trace</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_set_session_trace(99); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-set-pprof-trace.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-set-pprof-trace.xml +++ phpdoc-ja/reference/apd/functions/apd-set-pprof-trace.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-set-pprof-trace"> <refnamediv> <refname>apd_set_pprof_trace</refname> <refpurpose>ã»ãã·ã§ã³ã®ãããã°ãéå§ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>void</type><methodname>apd_set_pprof_trace</methodname> <methodparam choice="opt"><type>string</type><parameter>dump_directory</parameter></methodparam> </methodsynopsis> <para> {dump_directory}/pprof_{process_id} ã¸ã®ãããã°ãéå§ãã¾ãã dump_directory ãæå®ããã¦ããªãå ´åã¯ã&php.ini; ãã¡ã¤ã«ã® apd.dumpdir è¨å®ã使ç¨ããã¾ãã </para> <para> <example> <title><function>apd_set_pprof_trace</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_set_pprof_trace(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-get-active-symbols.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-get-active-symbols.xml +++ phpdoc-ja/reference/apd/functions/apd-get-active-symbols.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-get-active-symbols"> <refnamediv> <refname>apd_get_active_symbols</refname> <refpurpose>ãã¼ã«ã«ã¹ã³ã¼ãå ã®ã«ã¬ã³ãã®å¤æ°åãé åã§åå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>apd_get_active_symbols</methodname> <methodparam><parameter/></methodparam> </methodsynopsis> <para> ã¢ã¯ãã£ããªã¹ã³ã¼ãå ã§å®ç¾©ããã¦ãããã¹ã¦ã®å¤æ°åãè¿ãã¾ã ï¼å¤æ°ã®å¤ã§ã¯ããã¾ããï¼ã </para> <para> <example> <title><function>apd_get_active_symbols</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_echo(apd_get_active_symbols()); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-echo.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-echo.xml +++ phpdoc-ja/reference/apd/functions/apd-echo.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> <refentry id="function.apd-echo"> <refnamediv> <refname>apd_echo</refname> <refpurpose>ãããã°ç¨ã½ã±ããã«è¡¨ç¤ºãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>apd_echo</methodname> <methodparam><type>string</type><parameter>output</parameter></methodparam> </methodsynopsis> <para> å®è¡ä¸ã®ã¹ã¯ãªããã«é¢ããæ å ±ããä¸è¬çã«ã¯ã½ã±ããçµç±ã§ ãªã¯ã¨ã¹ããã¾ãã </para> <para> <example> <title><function>apd_echo</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_echo($i); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-dump-regular-resources.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-dump-regular-resources.xml +++ phpdoc-ja/reference/apd/functions/apd-dump-regular-resources.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.apd-dump-regular-resources"> <refnamediv> <refname>apd_dump_regular_resources</refname> <refpurpose>ã«ã¬ã³ãã®ãã¹ã¦ã®ä¸è¬ãªã½ã¼ã¹ãé åã§è¿ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>apd_dump_regular_resources</methodname> <void/> </methodsynopsis> <para> ã«ã¬ã³ãã®ãã¹ã¦ã®ä¸è¬ãªã½ã¼ã¹ãé åã§è¿ãã¾ãã </para> <para> <example> <title><function>apd_dump_regular_resources</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php print_r(apd_dump_regular_resources()); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-dump-persistent-resources.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-dump-persistent-resources.xml +++ phpdoc-ja/reference/apd/functions/apd-dump-persistent-resources.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.apd-dump-persistent-resources"> <refnamediv> <refname>apd_dump_persistent_resources</refname> <refpurpose>ãã¹ã¦ã®æç¶çãªãªã½ã¼ã¹ãé åã§è¿ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>apd_dump_persistent_resources</methodname> <void/> </methodsynopsis> <para> ãã¹ã¦ã®æç¶çãªãªã½ã¼ã¹ãé åã§è¿ãã¾ãã </para> <para> <example> <title><function>apd_dump_persistent_resources</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php print_r(apd_dump_persistent_resources()); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-dump-function-table.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-dump-function-table.xml +++ phpdoc-ja/reference/apd/functions/apd-dump-function-table.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-dump-function-table"> <refnamediv> <refname>apd_dump_function_table</refname> <refpurpose>ã«ã¬ã³ãã®é¢æ°ãã¼ãã«ãåºåãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>void</type><methodname>apd_dump_function_table</methodname> <void/> </methodsynopsis> <para> ã«ã¬ã³ãã®é¢æ°ãã¼ãã«ãåºåãã¾ãã </para> <para> <example> <title><function>apd_dump_function_table</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_dump_function_table(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-croak.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-croak.xml +++ phpdoc-ja/reference/apd/functions/apd-croak.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-croak"> <refnamediv> <refname>apd_croak</refname> <refpurpose>ã¨ã©ã¼ã¨ã³ã¼ã«ã¹ã¿ãã¯ãã¹ãã¼ããçµäºãã</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> perl ã® Carp::croak ã¨åãããã«åä½ãã¾ããã¨ã©ã¼ã¨ã³ã¼ã«ããã¯ã ã¹ãã¼ããçµäºãã¾ããããã©ã«ãã®è¡åºåãæå㯠"<BR />\n" ã§ãã </para> <para> <example> <title><function>apd_croak</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_croak("Some Warning","<P>"); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-continue.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-continue.xml +++ phpdoc-ja/reference/apd/functions/apd-continue.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> <refentry id="function.apd-continue"> <refnamediv> <refname>apd_continue</refname> <refpurpose>ã¤ã³ã¿ããªã¿ãåéãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>apd_continue</methodname> <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> </methodsynopsis> <para> ã¤ã³ã¿ããªã¿ãåéããããã«ãä¸è¬çã«ã¯ã¯ã½ã±ããçµç±ã§éä¿¡ãã¾ãã </para> <para> <example> <title><function>apd_continue</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_continue(0); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-clunk.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-clunk.xml +++ phpdoc-ja/reference/apd/functions/apd-clunk.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.apd-clunk"> <refnamediv> <refname>apd_clunk</refname> <refpurpose>è¦åã¨ã³ã¼ã«ã¹ã¿ãã¯ãã¹ãã¼ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</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> perl ã® Carp::cluck ã¨åãããã«åä½ãã¾ããè¦åã¨ã³ã¼ã«ããã¯ã ã¹ãã¼ãã¾ããããã©ã«ãã®è¡åºåãæå㯠"<BR />\n" ã§ãã </para> <para> <example> <title><function>apd_clunk</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php apd_clunk("Some Warning","<P>"); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-callstack.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-callstack.xml +++ phpdoc-ja/reference/apd/functions/apd-callstack.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.apd-callstack"> <refnamediv> <refname>apd_callstack</refname> <refpurpose>ã«ã¬ã³ãã®ã³ã¼ã«ã¹ã¿ãã¯ãé åã§è¿ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>apd_callstack</methodname> <void/> </methodsynopsis> <para> ã«ã¬ã³ãã®ã³ã¼ã«ã¹ã¿ãã¯ãé åå½¢å¼ã§è¿ãã¾ãã </para> <para> <example> <title><function>apd_callstack</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php print_r(apd_callstack()); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/functions/apd-breakpoint.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/functions/apd-breakpoint.xml +++ phpdoc-ja/reference/apd/functions/apd-breakpoint.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="function.apd-breakpoint"> <refnamediv> <refname>apd_breakpoint</refname> <refpurpose>ã¤ã³ã¿ããªã¿ã®å¦çã忢ããã½ã±ããããã® CR ãå¾ ã¤</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>apd_breakpoint</methodname> <methodparam><type>int</type><parameter>debug_level</parameter></methodparam> </methodsynopsis> <para> ã¹ã¯ãªããã®å®è¡ã忢ããæ¥ç¶ãã¦ããã½ã±ããããã®å¿çãå¾ ã¡åãã ããã«ä½¿ç¨ãã¾ããããã°ã©ã ã®ã¹ãããå®è¡ãè¡ãã«ã¯ãEnter ãã¼ãæ¼ã ï¼ç©ºè¡ãéãï¼ãããã¯å®è¡ããã PHP ã³ãã³ããå ¥åãã¾ããtcplisten ãç¨ããå ¸åçãªã»ãã·ã§ã³ã¯ããã®ããã«ãªãã¾ãã </para> <para> <programlisting role="shell"> <![CDATA[ bash#tcplisten localhost 7777 APD - Advanced PHP Debugger Trace File --------------------------------------------------------------------------- Process Pid (6118) Trace Begun at Sun Mar 10 23:13:12 2002 --------------------------------------------------------------------------- ( 0.000000): apd_set_session_trace called at /home/alan/Projects/project2/test. php:5 ( 0.074824): apd_set_session_trace_socket() at /home/alan/Projects/project2/tes t.php:5 returned. Elapsed (0.074824) ( 0.074918): apd_breakpoint() /home/alan/Projects/project2/test.php:7 ++ argv[0] $(??) = 9 apd_breakpoint() at /home/alan/Projects/project2/test.php:7 returned. Elapsed ( -2089521468.1073275368) >\n statement: /home/alan/Projects/project2/test.php:8 >\n statement: /home/alan/Projects/project2/test.php:8 >\n statement: /home/alan/Projects/project2/test.php:10 >apd_echo($i); EXEC: apd_echo($i); 0 >apd_echo(serialize(apd_get_active_symbols())); EXEC: apd_echo(serialize(apd_get_active_symbols())); a:47:{i:0;s:4:"PWD";i:1;s:10:"COLORFGBG";i:2;s:11:"XAUTHORITY";i:3;s:14:" COLORTERM_BCE";i:4;s:9:"WINDOWID";i:5;s:14:"ETERM_VERSION";i:6;s:16:"SE SSION_MANAGER";i:7;s:4:"PS1";i:8;s:11:"GDMSESSION";i:9;s:5:"USER";i:10;s:5:" MAIL";i:11;s:7:"OLDPWD";i:12;s:5:"LANG";i:13;s:10:"COLORTERM";i:14;s:8:"DISP LAY";i:15;s:8:"LOGNAME";i:16;s:6:" >apd_echo(system('ls /home/mydir'));......... >apd_continue(0); ]]> </programlisting> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/reference.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/reference.xml +++ phpdoc-ja/reference/apd/reference.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <reference id="ref.apd"> <title>Advanced PHP Debugger (APD)</title> <titleabbrev>APD</titleabbrev> <partintro> <section id="apd.intro"> &reftitle.intro; <para> APD ã¯é²åãã PHP ãããã¬ã§ããPHP ã³ã¼ãã®ãããã¡ã¤ãªã³ã°ã ãããã°ã®æ©è½ãæä¾ãããã¨ãã¾ãå®å ¨ãªã¹ã¿ãã¯ãã¬ã¼ã¹ãåºåãã æ©è½ãæä¾ãããã¨ãç®çã¨ãã¦ä½æããã¦ãã¾ããAPD ã¯å¯¾è©±å½¢å¼ã® ãããã°ããµãã¼ããã¦ãã¾ãããããã©ã«ãã§ã¯ãã¼ã¿ããã¬ã¼ã¹ ãã¡ã¤ã«ã«æ¸ãåºãããã«ãªã£ã¦ãã¾ããã¾ãããã¾ãã¾ãªã¬ãã«ã® æ å ±ï¼é¢æ°ã®ã³ã¼ã«ã»æ¸¡ããã弿°ã»æéãªã©ãå«ãï¼ãã¤ãã³ãçºçæã« è¨é²ãããã¨ãã§ãããããåã ã®ã¹ã¯ãªããåä½ã§æå¹ã«ãããç¡å¹ã« ãããã§ãã¾ãã <caution> <para> APD 㯠Zend æ¡å¼µã¢ã¸ã¥ã¼ã«ã§ãPHP å é¨é¢æ°ã®ã³ã¼ã«æ¹æ³ã«æãå ãã¾ãã ãã®ãããä»ã® Zend æ¡å¼µã¢ã¸ã¥ã¼ã«ï¼ãã¨ãã° Zend Optimizer ãªã©ï¼ã¨ã® ç¸æ§ã«æ³¨æãå¿ è¦ã§ãã </para> </caution> </para> </section> &reference.apd.configure; &reference.apd.ini; <section id="apd.resources"> &reftitle.resources; &no.resource; </section> <section id="apd.constants"> &reftitle.constants; &no.constants; </section> <section id="apd.examples"> <title>ã¹ã¯ãªããä¸ã§ PHP-APD ã使ç¨ããæ¹æ³</title> <procedure> <step> <para> ãã¬ã¼ã¹ãéå§ããã«ã¯ãPHP ã¹ã¯ãªããã®æåã®è¡ã§ apd_set_pprof_trace() 颿°ãã³ã¼ã«ãã¾ãã </para> <para> <programlisting role="php"> <![CDATA[ apd_set_pprof_trace(); ]]> </programlisting> </para> <para> ãã®è¡ã¯ã¹ã¯ãªããå ã®ã©ã®å ´æã«ã§ãæ¿å ¥å¯è½ã§ãããããã¹ã¯ãªããã® æåãããã¬ã¼ã¹ãå§ããªããã°ãããªããããã©ã¼ãã³ã¹ã®ããã«ããã¯ã« å°ãã¦ããããããããªããã¼ã¿ãæ¨ã¦ããã¨ã«ãªã£ã¦ãã¾ãã¾ãã </para> </step> <step> <para> ãããã¹ã¯ãªãããå®è¡ãã¾ãããããã³ãçµæã¯ <filename>apd.dumpdir/pprof_pid.ext</filename> ã«åºåããã¾ãã <tip> <para> CGI çã® PHP ã使ç¨ãã¦ããå ´åã¯ãapd ãæ£ããåä½ããããã« '-e' ãã©ã°ã¤ãã§å®è¡ããæ¡å¼µæ å ±ãæå¹ã«ãã¦ãã ããããã¨ãã° <userinput>php -e -f script.php</userinput> ã®ããã«å®è¡ãã¾ãã </para> </tip> </para> </step> <step> <para> ãããã¡ã¤ã«ãã¼ã¿ãæ´å½¢ãã¦è¡¨ç¤ºããã«ã¯ãã好ã¿ã®ä¸¦ã¹æ¿ããªãã·ã§ã³ã» 表示ãªãã·ã§ã³ãæå®ã㦠<command>pprofp</command> ã³ãã³ããå®è¡ ãã¦ãã ãããæ´å½¢ãããåºåã¯ä»¥ä¸ã®ããã«ãªãã¾ãã <screen> <![CDATA[ bash-2.05b$ pprofp -R /tmp/pprof.22141.0 Trace for /home/dan/testapd.php Total Elapsed Time = 0.00 Total System Time = 0.00 Total User Time = 0.00 Real User System secs/ cumm %Time (excl/cumm) (excl/cumm) (excl/cumm) Calls call s/call Memory Usage Name -------------------------------------------------------------------------------------- 100.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0009 0 main 56.9 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0005 0.0005 0 apd_set_pprof_trace 28.0 0.00 0.00 0.00 0.00 0.00 0.00 10 0.0000 0.0000 0 preg_replace 14.3 0.00 0.00 0.00 0.00 0.00 0.00 10 0.0000 0.0000 0 str_replace ]]> </screen> </para> <para> ãã®ä¾ã§ä½¿ããã¦ãã -R ãªãã·ã§ã³ã¯ããã®é¢æ°ãå®è¡ããã®ã«ããã£ãæéã® é ã§ãããã¡ã¤ã«ãã¼ãã«ãä¸¦ã¹æ¿ãã¾ãã"cumm call" åã«ã¯åã ã®é¢æ°ã ä½åã³ã¼ã«ããããããã㦠"s/call" åã«ã¯ 1 åã®ã³ã¼ã«ãããã® å¹³åæè¦æéã表示ããã¾ãã </para> </step> <step> <para> KCacheGrind ã«ã¤ã³ãã¼ãã§ããå½¢å¼ã®ãã¡ã¤ã«ã使ããã«ã¯ã <command>pprof2calltree</command> ã³ãã³ããå®è¡ãã¦ãã ããã </para> </step> </procedure> </section> <section id="apd.contact"> <title>é£çµ¡å ã®æ å ±</title> <para> ã³ã¡ã³ãã»ãã°ãã£ãã¯ã¹ã»æ©è½æ¡å¼µã»ãããã¯éçºãæä¼ããããªã©ã®å ´åã¯ã ã¡ã¼ã«ã <ulink url="mailto:&email.apd;">&email.apd;</ulink> ã«éã£ã¦ãã ããã大æè¿ãã¾ãã </para> </section> </partintro> &reference.apd.functions; </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/ini.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/ini.xml +++ phpdoc-ja/reference/apd/ini.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <section id="apd.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> <title>APD ã®è¨å®ãªãã·ã§ã³</title> <tgroup cols="4"> <thead> <row> <entry>åå</entry> <entry>ããã©ã«ã</entry> <entry>夿´ã®å¯å¦</entry> <entry>夿´å±¥æ´</entry> </row> </thead> <tbody> <row> <entry>apd.dumpdir</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> <entry>apd.statement_tracing</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> </tbody> </tgroup> </table> &ini.php.constants; </para> &ini.descriptions.title; <para> <variablelist> <varlistentry id="ini.apd.dumpdir"> <term> <parameter>apd.dumpdir</parameter> <type>string</type> </term> <listitem> <para> APD ããããã¡ã¤ã«ã®ãã³ããã¡ã¤ã«ãæ¸ãåºããã£ã¬ã¯ããªãè¨å®ãã¾ãã 絶対ãã¹ã»ç¸å¯¾ãã¹ã®ã©ã¡ããæå®å¯è½ã§ãã </para> <para> <function>apd_set_pprof_trace</function> ã¸å¼æ°ã渡ããã¨ã§ã æå®ãã以å¤ã®å ´æã«æ¸ãåºããã¨ãå¯è½ã§ãã </para> </listitem> </varlistentry> <varlistentry id="ini.apd.statement-tracing"> <term> <parameter>apd.statement_tracing</parameter> <type>boolean</type> </term> <listitem> <para> è¡åä½ã®ãã¬ã¼ã¹ããããããªãããè¨å®ãã¾ããããã on (1) ã«ããã¨ãã¢ããªã±ã¼ã·ã§ã³ã®ããã©ã¼ãã³ã¹ã«è¡æçãªå½±é¿ãä¸ãã¾ãã </para> </listitem> </varlistentry> </variablelist> </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/configure.xml?r=1.1&p=1 Index: phpdoc-ja/reference/apd/configure.xml +++ phpdoc-ja/reference/apd/configure.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <section id="apd.installation"> &reftitle.install; <para> ç¾å¨ APD 㯠PECL æ¡å¼µã¢ã¸ã¥ã¼ã«ã¨ãã¦å ¬éããã¦ããã <ulink url="&url.pecl.package;apd">&url.pecl.package;apd</ulink> ã§å ¥æå¯è½ã§ããCGI çã® PHP ãã¤ã³ã¹ãã¼ã«ããã¦ããããã¹ã®éã£ãå ´æã« phpize ã¹ã¯ãªããããããã¨ã確ããã¦ãã ããã </para> <para> APD ã®ææ°å®å®ãã¼ã¸ã§ã³ããã¦ã³ãã¼ãã»ãã«ãã»ã¤ã³ã¹ãã¼ã«ããã«ã¯ 以ä¸ã®ã³ãã³ããå®è¡ãã¾ãã <screen> <![CDATA[ pear install apd ]]> </screen> </para> <para> ããã¯ãAPD Zend ã¢ã¸ã¥ã¼ã«ãèªåçã« PHP ã® extension ãã£ã¬ã¯ããªã« ã¤ã³ã¹ãã¼ã«ãã¾ããå¿ ããã®å ´æã§ãªããã°ãªããªãããã§ã¯ããã¾ããã zend_extension ãã©ã¡ã¼ã¿ãé©åã«è¨å®ããã°ãPHP ã èªã¿è¾¼ãããã£ã¬ã¯ããªãªãã©ãã«ã§ãã¤ã³ã¹ãã¼ã«å¯è½ã§ãã </para> <para> Windows ã¦ã¼ã¶ã¯ <ulink url="&url.pecl.get.win;">&url.pecl.get.win;</ulink> ãã <filename>php_apd.dll</filename> ããã¦ã³ãã¼ãã§ãã¾ãã </para> <para> INI ãã¡ã¤ã«ã«ä»¥ä¸ã®è¡ã追å ãã¾ãã </para> <para> <programlisting role="php.ini"> <![CDATA[ zend_extension = /absolute/path/to/apd.so apd.dumpdir = /absolute/path/to/trace/directory apd.statement_tracing = 0 ]]> </programlisting> </para> <para> PHP ã®ãã«ãç¶æ³ã«ãã£ã¦ãzend_extension ãã£ã¬ã¯ãã£ã㯠以ä¸ã®ãã¡ã®ããããã²ã¨ã¤ã¨ãªãã¾ãã </para> <para> <programlisting role="script"> <![CDATA[ zend_extension (é ZTS, é debug ãã«ã) zend_extension_ts ( ZTS, é debug ãã«ã) zend_extension_debug (é ZTS, debug ãã«ã) zend_extension_debug_ts ( ZTS, debug ãã«ã) ]]> </programlisting> </para> </section> <section id="apd.installwin32"> <title>Win32 ã§ã®ãã«ã</title> <para> Windows ã§ APD ããã«ãããã«ã¯ãhttp://php.net/ ã§è¿°ã¹ããã¦ãããã㪠PHP ã³ã³ãã¤ã«ç°å¢ãå¿ è¦ã§ãã -- åºæ¬çã«ã¯ãMicrosoft Visual C++ã» win32build.zipã»bison/flexã»ããã¦ãããããã¾ãåããããã®ã¡ãã£ã¨ãã ã³ããå¿ è¦ã«ãªãã¾ããã¾ã adp.dsp ã®æ¹è¡ã³ã¼ãã¯å¿ ã DOS å½¢å¼ã« ãã¦ãã ãããUnix å½¢å¼ã®æ¹è¡ã³ã¼ãã ã¨ãMicrosoft Visual C++ ã«æå¥ãè¨ããã¾ãã </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-ja/reference/apd/.cvsignore?r=1.1&p=1 Index: phpdoc-ja/reference/apd/.cvsignore +++ phpdoc-ja/reference/apd/.cvsignore functions.xml