Re: Make strict mode more strict?
| From: | Stanislav Malyshev | Date: | Wed, 16 Sep 2015 23:23:33 +0000 |
| Subject: | Re: Make strict mode more strict? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88273@lists.php.net to get a copy of this message | ||
Hi!
> PHP 7 has strict_types mode for function parameters/return values and
> these are binded to certain type strictly.
> https://wiki.php.net/rfc/scalar_type_hints_v5
>
> Why not make strict_types mode more strict?
What you are proposing is not making strict_mode more strict, it is full
variable typing, and should be considered as such.
I personally do not think PHP needs that, but at least if it is
discussed then it should be discussed with proper understanding what it is.
--
Stas Malyshev
smalyshev@gmail.com