Re: Coercive Scalar Type Hints RFC
| From: | Marcio Almada | Date: | Sat, 21 Feb 2015 20:13:48 +0000 |
| Subject: | Re: Coercive Scalar Type Hints RFC | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83424@lists.php.net to get a copy of this message | ||
Hi,
2015-02-21 14:22 GMT-03:00 Zeev Suraski <zeev@zend.com>:
> All,
>
> I’ve been working with François and several other people from internals@
> and the PHP community to create a single-mode Scalar Type Hints proposal.
>
> I think it’s the RFC is a bit premature and could benefit from a bit more
> time, but given the time pressure, as well as the fact that a not fully
> compatible subset of that RFC was published and has people already
> discussing it, it made the most sense to publish it sooner rather than
> later.
>
> The RFC is available here:
>
> wiki.php.net/rfc/coercive_sth
>
> Comments welcome!
>
> Zeev
>
Thanks for your effort and for proposing the RFC so quick. But indeed, as
you said, this is really premature.
According to my interpretation the RFC proposes a potentially huge bc break
on internal functions usage while the competing (recently withdraw) RFC was
BC compatible regarding this. Having this proposal without a working patch,
so we can try the real impact it could have before form opinions, frankly,
doesn't sound like a good idea.
I know it's still a draft but, considering the RFC is aimed to v7.0, I hope
to see a working implementation before the feature freeze just like what
was exemplary made with the other previous withdraw proposals.
Thanks,
Márcio