dis-bench / src /php /php-src /Zend /tests /exceptions /exception_003.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
193 Bytes
--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