在PHP命令行上显示完整堆栈跟踪

Problem

My PHP Stack Trace is abbreviated:

Stack trace:
#0 /www/html/table/app/create.php(128): SoapClient->__call('call', Array)
#1 /www/html/table/app/create.php(128): SoapClient->call('5e81ad4c12668ec...', 'table.ad...', Array)

Expected Outcome

I want to see the part that is hidden by the ... when running php from the command line. How do I make php show the full message?

You can surround it in a try ... catch and then do a var_dump on the exception.

try {

    // the code that throws an exception
} catch ( Exception $e ) {

   var_dump( $e->getTrace() );
}