Re: [ZEND-ENGINE-CVS] cvs: Zend / zend_compile.c
| From: | Markus Fischer | Date: | Sat, 29 Jun 2002 10:36:39 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: Zend / zend_compile.c | ||
| References: | 1 2 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-221@lists.php.net to get a copy of this message | ||
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).
- Markus