php-src/Zend/tests/bug33318.phpt
2012-10-10 10:27:49 +08:00

8 lines
167 B
PHP

--TEST--
Bug #33318 (throw 1; results in Invalid opcode 108/1/8)
--FILE--
<?php
throw 1;
?>
--EXPECTF--
Fatal error: Can only throw objects in %sbug33318.php on line 2