Re: RfC: rethink OO inheritance strictness
| From: | Sebastian Bergmann | Date: | Thu, 03 Aug 2006 14:09:53 +0000 |
| Subject: | Re: RfC: rethink OO inheritance strictness | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25186@lists.php.net to get a copy of this message | ||
Pierre wrote:
> I don't like new keywords either, but I don't see any alternative. I
> also think that interfaces are what should be used. But it seems that
> we are wrong, interfaces do not solve this issue, I'm still unsure
> about the reasons though.
Not that I am advocating this, but
class Foo implements PHP_StrictMode {}
could imply the same semantics as
strict class Foo {}
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69