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