xref: /PHP-7.4/Zend/tests/bug54624.phpt (revision ded3d984)
1--TEST--
2Bug #54624 (class_alias and type hint)
3--FILE--
4<?php
5class A
6{
7	function foo(A $param) {
8	}
9
10}
11
12class_alias('A', 'AliasA');
13
14eval('
15	class B extends A
16	{
17		function foo(AliasA $param) {
18		}
19
20	}
21');
22
23echo "DONE\n";
24?>
25--EXPECT--
26DONE
27