mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
Before PHP 8.1, the mysqli extension had MYSQLI_REPORT_OFF as default setting. With PHP 8.1, it has been changed to MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT The native driver is not ready to work with this new reporting level, see MDL-75761 about to considering to improve it. So this change just ensures that we continue using MYSQLI_REPORT_OFF with any PHP version.