xref: /PHP-8.0/ext/opcache/tests/preload_ind.phpt (revision 9fd8e00f)
1--TEST--
2Various tests that need an opcache_compile_file() indirected preload file
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7opcache.preload={PWD}/preload_ind.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--
14OK
15--EXPECTF--
16Warning: Can't preload class C with unresolved property types in %s on line %d
17OK
18