blob: b8efa94be0cd4c321462eab30ceda26f6fc0fe3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
Throwing exception in global scope
--FILE--
<?php
throw new Exception(1);
?>
--EXPECTF--
Fatal error: Uncaught Exception: 1 in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
|