Re: about final methods and attributes

From: Date: Sat, 21 Jun 2003 19:43:26 +0000
Subject: Re: about final methods and attributes
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-2506@lists.php.net to get a copy of this message
Thanx Marcus, it works great ! Cristiano Duarte "Marcus BöRger" <marcus.boerger@t-online.de> escreveu na mensagem news:173915641.20030621210803@post.rwth-aachen.de... > Hello Cristiano, > > Saturday, June 21, 2003, 2:07:09 AM, you wrote: > > MB> Hello Cristiano, > > MB> Friday, June 20, 2003, 9:03:33 PM, you wrote: > > CD>> Ok, final methods and attributes are cool, but what about final classes ? > CD>> Is it hard to implement ? Or all classes must be able to be extended by > CD>> children ? > > MB> It would be easy to implement and i made a running patch some time back. But > MB> we were uncertain about the result, whether or not it is really helpfull and > MB> needed in a loose typed language as PHP. But if you come up with a very good > MB> scenario were final classes are really needed chances are good they make it > MB> into PHP 5, if not chances are not so good. > > Attached is a patch that allows final classes. > > -- > Best regards, > Marcus mailto:helly@php.net

« previous php.internals (#2506) next »