1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 07:02:08 +01:00
Files
2022-12-12 20:33:00 +09:00

100 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: ec2fe9a592f794978114ef5021db9f1d00c2e05d Maintainer: mumumu Status: ready -->
<refentry xml:id="reflectionfiber.gettrace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionFiber::getTrace</refname>
<refpurpose>現在実行している時点のバックトレースを取得する</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="ReflectionFiber">
<modifier>public</modifier> <type>array</type><methodname>ReflectionFiber::getTrace</methodname>
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer><constant>DEBUG_BACKTRACE_PROVIDE_OBJECT</constant></initializer></methodparam>
</methodsynopsis>
<para>
リフレクションされた
<classname>Fiber</classname> で、
現在実行している時点のバックトレースを取得します。
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>options</parameter></term>
<listitem>
<para>
<parameter>options</parameter>
の値には、以下のフラグが指定できます。
</para>
<para>
<table>
<title>利用可能なオプション</title>
<tgroup cols="2">
<thead>
<row>
<entry>オプション</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<constant>DEBUG_BACKTRACE_PROVIDE_OBJECT</constant>
</entry>
<entry>
これがデフォルトの値です。
</entry>
</row>
<row>
<entry>
<constant>DEBUG_BACKTRACE_IGNORE_ARGS</constant>
</entry>
<entry>
スタックトレースに、関数の引数に関する情報を含めない。
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Fiber で、現在実行している時点のバックトレースを返します。
</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
-->