Am 26.01.2022 um 17:42 schrieb Craig Francis <cr...@craigfrancis.co.uk>: > While I did begin an RFC to allow *some* functions to be more tolerant of > NULL, especially for those scripts not using `strict_types`: > > https://wiki.php.net/rfc/allow_null > > Or in other words, to "relax certain type requirements on a case by case > basis", ref the original discussion: > > https://externals.io/message/112327 > > The only feedback I've received is that it's a "terrible idea" (no > details), "it's a bit late" (deprecations have already been issued, full > steam ahead?), and the typical objections/negativity (-4 points on > externals.io, not quite a record, but getting there).
For the record: I'm in favor of pursuing this RFC, I think disallowing null for functions like strlen does more harm than good. Regards, - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php