Re: type hinting
| From: | Sam Barrow | Date: | Fri, 04 Jan 2008 19:29:30 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34478@lists.php.net to get a copy of this message | ||
On Fri, 2008-01-04 at 11:27 -0800, Stanislav Malyshev wrote:
> > 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.
>
> For type hinting that you propose to work, you need to change PHP into
> type-strict language.
No, you don't. I could swear I've been using scalar type hinting for
about a month and a half now, and I don't remember changing PHP into a
strictly typed language.