PHPでスタックトレース
(PHP 5 >= 5.1.0)
try { throw new Exception("woo"); } catch(Exception $e) { print "<pre>"; print ($e->getTraceAsString()); print "</pre>"; }
(PHP 5 >= 5.1.0)
try { throw new Exception("woo"); } catch(Exception $e) { print "<pre>"; print ($e->getTraceAsString()); print "</pre>"; }