Re: about final methods and attributes

From: Date: Sat, 21 Jun 2003 00:30:38 +0000
Subject: Re: about final methods and attributes
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-2472@lists.php.net to get a copy of this message
As far as I could see you only have final for methods, and not attributes. http://ny1.php.net/talks/show.php/php5intro/19 Regards Alan Marcus Börger wrote:
Hello Cristiano, 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 ? It would be easy to implement and i made a running patch some time back. But we were uncertain about the result, whether or not it is really helpfull and needed in a loose typed language as PHP. But if you come up with a very good scenario were final classes are really needed chances are good they make it into PHP 5, if not chances are not so good.


« previous php.internals (#2472) next »