debug_print_backtrace
バックトレースを表示する
&reftitle.description;
voiddebug_print_backtrace
intoptions0
intlimit0
debug_print_backtrace は PHP バックトレースを
表示します。関数のコール、include/require されているファイル、
そして eval された内容などが表示されます。
&reftitle.parameters;
options
このパラメータは次のオプションのビットマスクとなります。
debug_print_backtrace のオプション
DEBUG_BACKTRACE_IGNORE_ARGS
"args" インデックスを無視してすべての関数/メソッドの引数をメモリに格納するかどうか。
limit
このパラメータを使ってスタックフレームの数を制限できます。
デフォルト (limit=0) は、すべてのスタックフレームを表示します。
&reftitle.returnvalues;
&return.void;
&reftitle.examples;
debug_print_backtrace の例
]]>
]]>
&example.outputs.similar;
&reftitle.seealso;
debug_backtrace