开发者

How to setup custom error messages for my php application?

开发者 https://www.devze.com 2023-01-15 18:40 出处:网络
I want to make an application in php where users can run their php files. In that application I want to show more simp开发者_开发知识库le error messages to the user. Is there any procedure in php to e

I want to make an application in php where users can run their php files. In that application I want to show more simp开发者_开发知识库le error messages to the user. Is there any procedure in php to edit default error messages?


You can set your own error handler.


use set_error_handler and set_exception_handler to intercept errors and exceptions so you can display your own messages

0

精彩评论

暂无评论...
验证码 换一张
取 消