mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
e3ef7bbbb8
Closes GH-7771 Closes GH-8124
16 lines
331 B
PHP
16 lines
331 B
PHP
--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 {main}
|
|
thrown in %sgh7771_1_definition.inc on line 4
|