mirror of
https://github.com/php/php-src.git
synced 2026-04-14 11:32:11 +02:00
During preloading, check that all classes that have been included as part of the preload script itself (rather than through opcache_compile_file) can actually be preloaded, i.e. satisfy Windows restrictions, have resolved initializers and resolved property types. When resolving initializers and property types, also autoload additional classes. Because of this, the resolution runs in a loop.
14 lines
371 B
PHP
14 lines
371 B
PHP
--TEST--
|
|
Preloading: Loadable class checking (3)
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
opcache.preload={PWD}/preload_loadable_classes_3.inc
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
Unreachable
|
|
--EXPECTF--
|
|
Fatal error: Failed to load class Foo used by typed property Test::$prop during preloading in Unknown on line 0
|