Like the title, what is the way to close error prompts in the native mysql and pdo classes to avoid error messages being discovered by hackers. Please provide details on how to modify it
The scope of action is limited to the current program, other php files will not work. If you want all php files to be executed without errors, just modify the error reporting settings in php.ini
replyThis is a stupid way. It is definitely unrealistic to write @ on everything. What I mean is modifying the configuration file or opening a certain method.
The scope of action is limited to the current program, other php files will not work. If you want all php files to be executed without errors, just modify the error reporting settings in php.ini
Using @ annotation will not prompt you