Re: type hinting
| From: | Sam Barrow | Date: | Fri, 04 Jan 2008 19:11:35 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34455@lists.php.net to get a copy of this message | ||
On Fri, 2008-01-04 at 10:30 -0800, Stanislav Malyshev wrote:
> > To make it optional was to lower the issues for those who don't care
> > about argument strictness. We did not give them this choice for the OO
> > strictness.
>
> OO mandates you to work in certain way. However, the way PHP works with
> values was never type-strict and there's no reason to suddenly change
> PHP into type-strict language.
This is not what we are doing. We are not changing PHP into a
type-strict language. This is type hinting. This is completely
different.