Re: [ZEND-ENGINE-CVS] cvs: Zend / zend_compile.c
| From: | Thies C. Arntzen | Date: | Sat, 29 Jun 2002 10:57:25 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: Zend / zend_compile.c | ||
| References: | 1 2 3 4 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-223@lists.php.net to get a copy of this message | ||
On Sat, Jun 29, 2002 at 01:36:42PM +0300, Andi Gutmans wrote:
> At 12:36 PM 6/29/2002 +0200, Markus Fischer wrote:
> >On Sat, Jun 29, 2002 at 12:29:15PM +0200, Thies C. Arntzen wrote :
> >> On Sat, Jun 29, 2002 at 08:37:59AM -0000, Andi Gutmans wrote:
> >> > andi Sat Jun 29 04:37:59 2002 EDT
> >> >
> >> > Modified files:
> >> > /Zend zend_compile.c
> >> > Log:
> >> > - Fix for bug 17882
> >> >
> >>
> >> so overwriting method is no longer allowd?
> >>
> >> <?
> >> class a {
> >> function test() {
> >> }
> >> }
> >>
> >> class b extends a {
> >> function test() {
> >> }
> >> }
> >> ?>
> >
> > No, but multiple definitions aren't allowed anymore:
> >
> > <?
> > class a {
> > function foo() {
> > }
> >
> > function foo() {
> > }
> > }
> > ?>
> >
> > For some reason it worked before (but was confusing).
>
> Exactly. Overriding inherited methods should still work.
but it doesn't - try my testcase from 1st mail.
re,
tc