Suggest to backport as 7.3 is still widely used
Ref https://www.php.net/archive/2021.php#2021-02-04-1
could be commited after