php-src/Zend/tests/bug54624.phpt
2020-02-03 22:52:20 +01:00

27 lines
270 B
PHP

--TEST--
Bug #54624 (class_alias and type hint)
--FILE--
<?php
class A
{
function foo(A $param) {
}
}
class_alias('A', 'AliasA');
eval('
class B extends A
{
function foo(AliasA $param) {
}
}
');
echo "DONE\n";
?>
--EXPECT--
DONE