Errors in Extensions
As described above, with PHP 7, fatal and recoverable errors in
    the engine where changed to instead throw an instance of
    Error. However, this change was only made in the engine
    itself, extensions were not yet updated to follow this new
    mechanism. Since PHP 7.1 the following core extensions – which are
    all controlled by the PHP project – got also updated to throw errors
    instead of emitting fatal or recoverable errors:
datedomsimplexmlimaplsapmbstringmcryptmysqlireflectionsessionstandardspltidywddxxmlrpczip