blob: 813246c5dd5f53d69bfda63d0e96b2cff44ff4c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--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
|