--TEST-- Bug #78014 (Preloaded classes may depend on non-preloaded classes due to unresolved consts) --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78014.inc --SKIPIF-- --FILE-- foo()); ?> --EXPECTF-- Warning: Can't preload unlinked class C: Parent with unresolved initializers B in %s on line %d Warning: Can't preload class B with unresolved initializer for constant X in %s on line %d Fatal error: Uncaught Error: Class 'C' not found in %sbug78014.php:5 Stack trace: #0 {main} thrown in %sbug78014.php on line 5