File size: 377 Bytes
1e94262 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | --TEST--
GH-7771 (Incorrect file/line for class constant expression exceptions)
--FILE--
<?php
include __DIR__ . '/gh7771_1_definition.inc';
new Foo();
?>
--EXPECTF--
Fatal error: Uncaught Error: Class "NonExistent" not found in %sgh7771_1_definition.inc:4
Stack trace:
#0 %sgh7771_1.php(5): [constant expression]()
#1 {main}
thrown in %sgh7771_1_definition.inc on line 4
|