mirror of
https://github.com/php/doc-ja.git
synced 2026-03-24 07:02:08 +01:00
77 lines
2.3 KiB
XML
77 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: f4098e2bac4bcc136b95b85badcf4476fa683477 Maintainer: takagi Status: ready -->
|
|
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.memcache-debug">
|
|
<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>
|
|
<simpara>
|
|
<function>memcache_debug</function> は、PHP が
|
|
--enable-debug オプションをつけてビルドされている場合にのみ使用可能で、
|
|
この場合は常に &true; を返します。そうでない場合は、この関数は
|
|
何も行わずに常に &false; を返します。
|
|
</simpara>
|
|
</note>
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>on_off</parameter></term>
|
|
<listitem>
|
|
<simpara>
|
|
&true; にすると、デバッグ出力をオンにします。
|
|
&false; にすると、デバッグ出力をオフにします。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<simpara>
|
|
PHP が --enable-debug オプションをつけてビルドされている場合に
|
|
&true;、それ以外の場合に &false; を返します。
|
|
</simpara>
|
|
</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
|
|
-->
|