Skip to content

Commit

Permalink
Update debug-backtrace.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
mowangjuanzi committed Jul 31, 2023
1 parent 7a27b2a commit faa77b8
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion reference/errorfunc/functions/debug-backtrace.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 24ea750d479d4992705bfb11bd3be4a388c7c13f Maintainer: daijie Status: ready -->
<!-- EN-Revision: 26a8f2141b987f95047435f83d2710eb11468778 Maintainer: daijie Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xml:id="function.debug-backtrace" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -48,6 +48,48 @@
</tbody>
</tgroup>
</table>
<note>
<para>
有四种可能的组合:
<table>
<title><function>debug_backtrace</function> 选项</title>
<tgroup cols="2">
<tbody>
<row>
<entry><code>debug_backtrace()</code></entry>
<entry morerows="2" valign="middle">
两个索引都有
</entry>
</row>
<row>
<entry><code>debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT)</code></entry>
</row>
<row>
<entry><code>debug_backtrace(1)</code></entry>
</row>
<row>
<entry><code>debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS &amp; DEBUG_BACKTRACE_PROVIDE_OBJECT)</code></entry>
<entry morerows="1" valign="middle">
忽略索引 <literal>"object"</literal>。
</entry>
</row>
<row>
<entry><code>debug_backtrace(0)</code></entry>
</row>
<row>
<entry><code>debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)</code></entry>
<entry morerows="1" valign="middle">
忽略索引 <literal>"object"</literal> <emphasis>and</emphasis> index <literal>"args"</literal>。
</entry>
</row>
<row>
<entry><code>debug_backtrace(2)</code></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</note>
</para>
</listitem>
</varlistentry>
Expand Down

0 comments on commit faa77b8

Please sign in to comment.