xref: /PHP-7.4/Zend/tests/bug76451.phpt (revision afec3a92)
1--TEST--
2Bug #76451: Aliases during inheritance type checks affected by opcache
3--FILE--
4<?php
5require __DIR__ . "/bug76451.inc";
6
7class A {
8    public function test(Foo $foo) {}
9}
10class B extends A {
11    public function test(Bar $foo) {}
12}
13?>
14===DONE===
15--EXPECT--
16===DONE===
17