php-src/Zend/tests/bug33318.phpt

8 lines
167 B
PHP
Executable File

--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