Files
adminer/adminer/include/errors.inc.php
2025-03-05 17:08:29 +01:00

8 lines
259 B
PHP

<?php
namespace Adminer;
error_reporting(6135); // errors and warnings
set_error_handler(function ($errno, $errstr) {
return !!preg_match('~^(Trying to access array offset on( value of type)? null|Undefined (array key|property))~', $errstr);
}, E_WARNING);