Am 12.02.2021 um 15:30 schrieb Craig Francis <cr...@craigfrancis.co.uk>: > Switching the default from `OFF` to `ERROR` to `ERROR | STRICT` isn't an > obvious step, as that still means you're still having a single step to change > from error reporting to exceptions.
It is the usual step for (almost) all BC breaking changes in PHP: Warn first (leaving time to find and adapt code), explode later. The question is not *if* the change has to be made (or how big it is) but *when* (and how to find places to be changed). Point in case: We just made the transition to PHP 8 and stuff like round(null) and abs(null) going directly from silence to Exception resulted in e.g. data importers suddenly stopping to work. Yes, each individual fix was easy but if there would have been a period where this is a warning we could have fixed those places without time pressure or a time window where users saw missing data. - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php