#44822 [Ver->Csd]: Interface documentation does not say interfaces can be extended

From: Date: Mon, 11 Aug 2008 22:18:08 +0000
Subject: #44822 [Ver->Csd]: Interface documentation does not say interfaces can be extended
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1088@lists.php.net to get a copy of this message
 ID:               44822
 Updated by:       kalle@php.net
 Reported By:      kalle@php.net
-Status:           Verified
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2008-08-10 18:22:08] ross dot masters dot rm at googlemail dot com

Submitted a fix to Kalle, don't have a CVS account so he can apply it
if it's alright.

------------------------------------------------------------------------

[2008-04-24 17:12:26] kalle@php.net

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)
	{
	}
}



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44822&edit=1



Thread (4 messages)

« previous php.doc.bugs (#1088) next »