Issue #3224420 by andypost, longwave, daffie: [PHP 8.1] Exception codes should be numeric and not NULL