dis-bench / src /php /php-src /Zend /tests /exceptions /exception_006.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
189 Bytes
--TEST--
Trying to throw a non-object
--FILE--
<?php
throw 1;
?>
--EXPECTF--
Fatal error: Uncaught Error: Can only throw objects in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d