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
精彩评论