开发者

Global.asax for php

I've been a .Net developer and a Java developer and TBH I liked .Net more when it comes to web (Except that I had to use IIS). Recently I've learned php (Amazingly simple) but I was wondering if in php you could do something like the G开发者_如何学Golobal.asax in .Net. I'm just looking for someway to mimic the Application_Error event.


I think the following are closest to what you want:

  • set_error_handler
  • set_exception_handler
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜