Re: Coercive Scalar Type Hints RFC - BC breaks
| From: | Pierre Joye | Date: | Tue, 24 Feb 2015 23:41:46 +0000 |
| Subject: | Re: Coercive Scalar Type Hints RFC - BC breaks | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83716@lists.php.net to get a copy of this message | ||
On Tue, Feb 24, 2015 at 5:23 AM, François Laupretre <francois@php.net> wrote:
> I think I was not clear. *Every* 'break' I report here won't generate anything
> more than E_DEPRECATED in the final implementation. By definition. Ne need to wait for a better
> patch.
How do you test apps with actual production data? What a given code is
being fed with in production, everywhere, using random
application&users specific data or inputs.
Obviously it is easy failed casts, but what do your tests cover? I do
not worry much about what we know but what we do not know. And
changing the casting rules opens a Pandora box.