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