Re: Fix for Bug #16265 breaks inheritance!

From: Date: Tue, 26 Mar 2002 23:30:06 +0000
Subject: Re: Fix for Bug #16265 breaks inheritance!
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-81839@lists.php.net to get a copy of this message
On Tue, 26 Mar 2002, Wez Furlong wrote: > Hi Derick, > > I don't know if you have tried something like this with the recent > changes that were made to zend_compile.c: > > Class A { > function fred() { > } > } > > Class B extends A { > function fred() { > } > } > > Class B is not allowed to override fred()! > > A slightly more clever version of the method redeclaration check is > needed I think! Yeah, that's why I asked Andi to confirm my patch, but I guess he didn't thought of this either. Derick

« previous php.dev (#81839) next »