disable error reporting for the pear file

This commit is contained in:
Ulf Gebhardt 2024-11-19 22:55:31 +01:00
parent 22e187271f
commit 2c896b500f
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -1,4 +1,7 @@
<?php
// error_reporting returns the old error code
$old_error_reporting = error_reporting(0);
/**
* PEAR, the PHP Extension and Application Repository
*
@ -1111,3 +1114,6 @@ class PEAR_Error
* c-basic-offset: 4
* End:
*/
// reset error_reporting to its old value
error_reporting($old_error_reporting);