Re: [RFC] Scalar Type Hinting With Casts (re-opening)
| From: | Pierre Joye | Date: | Thu, 24 Jul 2014 09:04:40 +0000 |
| Subject: | Re: [RFC] Scalar Type Hinting With Casts (re-opening) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76000@lists.php.net to get a copy of this message | ||
On Thu, Jul 24, 2014 at 11:03 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>> I think it should behave like class arguments do.
>
> That's called strict typing and was discussed many times. Do we really
> want another round of repeating the same arguments?
As I said, yes it was discussed, and yes I think it makes sense to
consider it. I won't discuss or battle that to hell tho', it is only
the way it my humble opinion.
--
Pierre
@pierrejoye | http://www.libgd.org