php-src/Zend/tests/exception_006.phpt
2008-05-12 17:55:21 +00:00

11 lines
132 B
PHP

--TEST--
Trying to throw a non-object
--FILE--
<?php
throw 1;
?>
--EXPECTF--
Fatal error: Can only throw objects in %s on line %d