How can I get the full string of PHP’s getTraceAsString()?

前端 未结 7 1391
南笙
南笙 2020-12-08 10:32

I\'m using getTraceAsString() to get a stack trace but the string is being truncated for some reason.

Example, an exception is thrown and I log the stri

7条回答
  •  心在旅途
    2020-12-08 11:17

    Some better version https://stackoverflow.com/a/6076667/194508 is here https://gist.github.com/1437966 added class to output.

提交回复
热议问题