Return Error stack trace in string format.
public static toStackString ( |
||
$ex | ||
Результат | string |
/** * */ public function testStaticApiToStackString_ReturnsStackTraceAsString() { $prev = $this->createError('Previous'); $ex = $this->createError('Error', $prev); $this->assertStackString(Error::toStackString($ex)); }