blob: 74ac9552bc0b336280c43cc22b5246cf2094b57b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--TEST--
Bug #33318 (throw 1; results in Invalid opcode 108/1/8)
--FILE--
<?php
throw 1;
?>
--EXPECTF--
Fatal error: Uncaught Error: Can only throw objects in %sbug33318.php:2
Stack trace:
#0 {main}
thrown in %sbug33318.php on line 2
|