1--TEST-- 2Preloading: Loadable class checking (2) 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.optimization_level=-1 7opcache.preload={PWD}/preload_loadable_classes_2.inc 8--SKIPIF-- 9<?php 10require_once('skipif.inc'); 11if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows'); 12?> 13--FILE-- 14Unreachable 15--EXPECTF-- 16Warning: Use of undefined constant UNDEF - assumed 'UNDEF' (this will throw an Error in a future version of PHP) in Unknown on line 0 17 18Fatal error: Class 'Foo' not found in Unknown on line 0 19 20Fatal error: Failed to resolve initializers of class Test during preloading in Unknown on line 0 21