Changeset 942 for trunk/Common/Global.php
- Timestamp:
- Aug 26, 2022, 11:04:38 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Global.php
r938 r942 397 397 return $Data; 398 398 } 399 400 function ExeceuteNoError(callable $Function): void 401 { 402 try 403 { 404 $LastErrorReporting = error_reporting(); 405 error_reporting(0); 406 $function(); 407 } 408 finally 409 { 410 error_reporting($LastErrorReporting); 411 } 412 }
Note:
See TracChangeset
for help on using the changeset viewer.