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.






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



Reply via email to