Re: Declaration of Bar::__construct() must be compatible with that of Foo::__construct()

From: Date: Thu, 26 Feb 2004 12:08:19 +0000
Subject: Re: Declaration of Bar::__construct() must be compatible with that of Foo::__construct()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-8171@lists.php.net to get a copy of this message
Marcus Boerger wrote:
Hello Timm, i had the same expirience today too. And also for me it makes not much sense. The constructor shouldn't check inheritance rules. And as a consequence maybe interfaces shouldn't allow constructors. Does inheritance include visibility rules? ;)
Andrey

« previous php.internals (#8171) next »