RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src/tests/classes ctor_in_interface_01.phpt
ctor_in_interface_02.phpt ctor_in_interface_03.phpt ctor_in_interface_04.phpt interface_construct.phpt

From: Date: Mon, 06 Mar 2006 08:31:20 +0000
Subject: RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src/tests/classes ctor_in_interface_01.phpt
ctor_in_interface_02.phpt ctor_in_interface_03.phpt ctor_in_interface_04.phpt interface_construct.phpt
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4684@lists.php.net to get a copy of this message
In-Reply-To: <001e01c640f6$efcb7a20$6e02a8c0@thinkpad> Message-ID: <Pine.LNX.4.62.0603060929020.10670@localhost> References: <001e01c640f6$efcb7a20$6e02a8c0@thinkpad> X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 6 Mar 2006, Dmitry Stogov wrote: > I don't say that the patch is wrong, the question itself is disputable. > > PHP doesn't allow multiple constructors, so if some class will > implement interface with constructor. This calss (and all its > subcalsses?) will not able to change constructor's prototype > > Havent we mess with subclasses? But it would be a choice by the developer then of this interface. I don't see why PHP should prevent them from doing this. Personally I would used this in one or two places myself. regards, Derick

« previous php.zend-engine.cvs (#4684) next »