Coercive Scalar Type Hints RFC - BC breaks

From: Date: Tue, 24 Feb 2015 04:17:54 +0000
Subject: Coercive Scalar Type Hints RFC - BC breaks
Groups: php.internals 
Request: Send a blank email to internals+get-83627@lists.php.net to get a copy of this message
Hi, I ran the PHP core 'make test' on a basic configuration, still running a significant number of 8785 tests. Note: the restrictions on numeric string conversions (leading chars/zeroes, trailing chars) are not simulated yet, but they shouldn't change the results very much. The ruleset corresponding to the coercive RFC, as it is published today, globally broke 7.3% of tests. From these 7.3%, 5.3% correspond to the disabled conversions from null to scalar types, which will probably have to be reintroduced, as it was suspected. So, if we consider that these conversions are re-enabled, the resulting coercive ruleset breaks 1.9% of the tests, which is rather positive, IMO, because there is still room for improvements. More details soon. Regards François

« previous php.internals (#83627) next »