Return Exception stack trace in array format.
public static toStackTrace ( |
||
$ex | ||
Результат | string[] |
/** * */ public function testStaticApiToStackTrace_ReturnsStackTrace() { $prev = $this->createException('Previous'); $ex = $this->createException('Exception', $prev); $this->assertStackTrace(Exception::toStackTrace($ex)); }