getMessage() . "\n"; echo $t->getTraceAsString() . "\n"; } $out = ob_get_clean(); echo $out;