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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to