Re: RfC: rethink OO inheritance strictness
| From: | Derick Rethans | Date: | Thu, 03 Aug 2006 08:44:58 +0000 |
| Subject: | Re: RfC: rethink OO inheritance strictness | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25170@lists.php.net to get a copy of this message | ||
On Thu, 3 Aug 2006, Lukas Smith wrote:
> Derick Rethans wrote:
>
> > On Thu, 3 Aug 2006, Lukas Smith wrote:
> >
> > > I still think that a flag on a per class basis would be the better
> > > solution, but I guess I can accept this change.
> >
> > I don't think it is better as it would require somebody (in one of the
> > teams) to modify their source files.
>
> Err? Code that already works, still works if we make the loose mode the
> default. Anyone who writes new classes can make use of a new strict flag
> however.
Sure, but then that code won't run on older versions of PHP (5.1 f.e.)
anymore, so it is not a good solution.
regards,
Derick