mirror of
https://github.com/php/doc-ja.git
synced 2026-03-25 15:42:08 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@297032 c90b9560-bf6c-de11-be94-00142212c4b1
80 lines
2.3 KiB
XML
80 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: takagi Status: ready -->
|
|
<refentry xml:id="function.memcache-debug" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>memcache_debug</refname>
|
|
<refpurpose>デバッグ出力のオン/オフを切り替える</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>memcache_debug</methodname>
|
|
<methodparam><type>bool</type><parameter>on_off</parameter></methodparam>
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
<function>memcache_debug</function> は、パラメータ
|
|
<parameter>on_off</parameter> が &true; の場合にデバッグ出力を有効にし、
|
|
&false; の場合には無効にします。
|
|
<note>
|
|
<para>
|
|
<function>memcache_debug</function> は、PHP が
|
|
--enable-debug オプションをつけてビルドされている場合にのみ使用可能で、
|
|
この場合は常に &true; を返します。そうでない場合は、この関数は
|
|
何も行わずに常に &false; を返します。
|
|
</para>
|
|
</note>
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>on_off</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
&true; にすると、デバッグ出力をオンにします。
|
|
&false; にすると、デバッグ出力をオフにします。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
PHP が --enable-debug オプションをつけてビルドされている場合に
|
|
&true;、それ以外の場合に &false; を返します。
|
|
</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:"~/.phpdoc/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
|
|
-->
|