Re: Scalar Type Intentions
| From: | Sebastian Bergmann | Date: | Thu, 01 Mar 2012 09:39:20 +0000 |
| Subject: | Re: Scalar Type Intentions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58401@lists.php.net to get a copy of this message | ||
On 03/01/2012 04:13 AM, Pierre Joye wrote:
However, following your logic, class type hinting was a mistake?The Type Hinting we currently have for arrays, callables, classes, and interfaces is not a mistake. Why? Because the types in question are not affected by the "type juggling". -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/