1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/opcache/tests/preload_loadable_classes_2.phpt
2020-07-30 14:04:14 +03:00

20 lines
561 B
PHP

--TEST--
Preloading: Loadable class checking (2)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
opcache.preload={PWD}/preload_loadable_classes_2.inc
--SKIPIF--
<?php
require_once('skipif.inc');
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
if (getenv('SKIP_ASAN')) die('xfail Startup failure leak');
?>
--FILE--
Unreachable
--EXPECT--
Fatal error: Undefined constant "UNDEF" in Unknown on line 0
Fatal error: Failed to resolve initializers of class Test during preloading in Unknown on line 0