|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-03-25 06:36 UTC] laruence@php.net
[2013-03-25 08:10 UTC] krakjoe@php.net
[2013-03-25 08:11 UTC] krakjoe@php.net
-Status: Open
+Status: Not a bug
[2013-03-25 08:11 UTC] krakjoe@php.net
[2013-03-25 10:42 UTC] rstoll at tutteli dot ch
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 19:00:02 2025 UTC |
Description: ------------ My PHP version is 5.4.7 forward references of classes do not work if the class implements an interface. Test script: --------------- $a = new Ok(); //that's ok class OK{} $a = new Fail(); //fails interface I{} class Fail implements I{} Expected result: ---------------- I would expect that forward references are also supported for classes which implement an interface