Re: about final methods and attributes
| From: | Sebastian Bergmann | Date: | Sun, 22 Jun 2003 09:27:32 +0000 |
| Subject: | Re: about final methods and attributes | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2524@lists.php.net to get a copy of this message | ||
Andi Gutmans wrote:
> At least for consistency sake even though I think it's useless :)
Consistency is the key issue here, IMHO.
A typical use case for final classes and PHP might be, at some point,
that a software vendor distributed his PHP application in encoded
bytecode format and wants to ensure that (security) critical classes
cannot change their behaviour through overriding, etc.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
http://www.professionelle-softwareentwicklung-mit-php5.de/