Re: What do we need strict scalar type hints for?
| From: | Dmitry Stogov | Date: | Tue, 03 Feb 2015 04:07:35 +0000 |
| Subject: | Re: What do we need strict scalar type hints for? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81678@lists.php.net to get a copy of this message | ||
I have similar opinion. Strict typing looks foreign for PHP.
I see, strict type hints may be useful.
Aspecially for testing and error detection, but anyaway, I'm not sure if
and how it should be enabled. Declare() is a working solution, but it's not
excelent.
Thanks. Dmitry.