|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-04-14 15:25 UTC] felipe@php.net
-Status: Open
+Status: Bogus
[2011-04-14 15:25 UTC] felipe@php.net
[2011-04-14 17:13 UTC] david at grudl dot com
[2011-04-19 21:48 UTC] david at grudl dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 12:00:01 2025 UTC |
Description: ------------ class_alias() is not taken into account by type hints. Test script: --------------- <?php class A { function foo(A $param) { } } class_alias('A', 'AliasA'); eval(' class B extends A { function foo(AliasA $param) { } } '); Expected result: ---------------- no error Actual result: -------------- Strict Standards: Declaration of B::foo() should be compatible with that of A::foo()