Skip to content

Commit 541b049

Browse files
committed
fix: made empty line explicit
1 parent ae77efb commit 541b049

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Zend/tests/exceptions/exception_001.phpt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ try {
99
try {
1010
throw new Exception();
1111
} catch (Throwable $e) {
12-
echo $e::class, ': ', $e->getMessage(), "\n";
12+
echo $e::class, ': "', $e->getMessage(), '"', "\n";
1313
throw $e;
1414
}
1515
} catch (Throwable $e) {
16-
echo $e::class, ': ', $e->getMessage(), "\n";
16+
echo $e::class, ': "', $e->getMessage(), '"', "\n";
1717
throw $e;
1818
}
1919
} catch (Throwable $e) {
20-
echo $e::class, ': ', $e->getMessage(), "\n";
20+
echo $e::class, ': "', $e->getMessage(), '"', "\n";
2121
throw $e;
2222
}
2323
} catch (Throwable $e) {
24-
echo $e::class, ': ', $e->getMessage(), "\n";
24+
echo $e::class, ': "', $e->getMessage(), '"', "\n";
2525
throw $e;
2626
}
2727

2828
?>
2929
--EXPECTF--
30-
Exception:
31-
Exception:
32-
Exception:
33-
Exception:
30+
Exception: ""
31+
Exception: ""
32+
Exception: ""
33+
Exception: ""
3434

3535
Fatal error: Uncaught Exception in %s:%d
3636
Stack trace:

0 commit comments

Comments
 (0)