Re: Declaration of Bar::__construct() must be compatible with that of Foo::__construct()
| From: | Derick Rethans | Date: | Thu, 26 Feb 2004 08:29:21 +0000 |
| Subject: | Re: Declaration of Bar::__construct() must be compatible with that of Foo::__construct() | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8159@lists.php.net to get a copy of this message | ||
On Thu, 26 Feb 2004, Timm Friebe wrote:
> On Thu, 2004-02-26 at 01:38, Marcus Boerger wrote:
> > Hello Timm,
> [...]
> > > Should work #1, Bar::connect() adds an argument
> > No the sugnature is incompatible. An instance of Foo cannot be called
> > with Bar or Connector's connect() Signature. Hence Bar is not a Foo
> > or Connector.
>
> Hrm, that's quite a (huge) BC break then.
Right, I think we should not break BC in this instance.
Derick