How to block fatal error by php

how does php shield fatal error (fatal errors)? in other words, the system can do other things by using php programs to handle shielded fatal errors, report errors in time, and don"t show them to users.

Php
Jul.03,2022

error_reporting(0);

php.ini 
display_errors=off

 

set_error_handler
set_exception_handler  2
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36984-2c02f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36984-2c02f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?