mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
29 lines
664 B
PHP
29 lines
664 B
PHP
--TEST--
|
|
Argument/return types must be available for preloading
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
opcache.preload={PWD}/preload_variance_ind.inc
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
interface K {}
|
|
interface L extends K {}
|
|
require __DIR__ . '/preload_variance.inc';
|
|
|
|
$a = new A;
|
|
$b = new B;
|
|
$d = new D;
|
|
$f = new F;
|
|
$g = new G;
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Can't preload unlinked class H: Unknown type dependencies in %s on line %d
|
|
|
|
Warning: Can't preload unlinked class B: Unknown type dependencies in %s on line %d
|
|
|
|
Warning: Can't preload unlinked class A: Unknown type dependencies in %s on line %d
|