|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-08-10 18:22 UTC] ross dot masters dot rm at googlemail dot com
[2008-08-11 22:18 UTC] kalle@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 06:00:01 2026 UTC |
Description: ------------ The documentation does not say that interfaces can be extended, see the example code below for an example. An error is being throwed because the secondary interface declares baz() Reproduce code: --------------- interface a { public function foo(); } interface b extends a { public function baz(Baz $baz); } class c implements b { public function foo() { } public function baz(Foo $foo) { } }