Re: RfC: rethink OO inheritance strictness
| From: | Lukas Smith | Date: | Mon, 07 Aug 2006 14:47:20 +0000 |
| Subject: | Re: RfC: rethink OO inheritance strictness | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25232@lists.php.net to get a copy of this message | ||
Jeff Moore wrote:
On Aug 4, 2006, at 3:23 AM, Derick Rethans wrote:Yeah if we do allow a flag for methods, then we should also have one for the entire class. But if we reuse the "interface" keyword things will get tricky. I doubt the strict camp wants to allow people to add method bodies in interfaces and "class interface foo {}" looks odd too. regards, Lukas- Add a new flag to methods (at the implementation level) that will allow to flag them as 'strict'Hello, Would exposing this flag to the user at method level get a bit verbose for those who want to use it? Perhaps a class level flag for all methods? Wasn't that proposed earlier? Its a long thread to follow, forgive me if I've missed something.