mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
17 lines
277 B
Plaintext
17 lines
277 B
Plaintext
|
--TEST--
|
||
|
Bug #76451: Aliases during inheritance type checks affected by opcache
|
||
|
--FILE--
|
||
|
<?php
|
||
|
require __DIR__ . "/bug76451.inc";
|
||
|
|
||
|
class A {
|
||
|
public function test(Foo $foo) {}
|
||
|
}
|
||
|
class B extends A {
|
||
|
public function test(Bar $foo) {}
|
||
|
}
|
||
|
?>
|
||
|
===DONE===
|
||
|
--EXPECT--
|
||
|
===DONE===
|