Re: [RFC] Scalar Type Hinting With Casts (re-opening)
| From: | Rowan Collins | Date: | Mon, 14 Jul 2014 14:07:21 +0000 |
| Subject: | Re: [RFC] Scalar Type Hinting With Casts (re-opening) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75463@lists.php.net to get a copy of this message | ||
Arvids Godjuks wrote (on 14/07/2014):
There is no special casing, Array and Object type hints are already implemented and are in the language for quite a long time. Just don't touch them, that's all I ask.The special case existing for backwards compatibility doesn't make it less of a special case. Imagine you're writing a tutorial, from scratch, after this feature is implemented: you will need to document two divergent behaviours.