if fatal error?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

if fatal error?

Post by shiznatix »

is there any way to be like, if there is a fatal error, report this error and reload this page. or just reload the page on fatal error?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

php stops execution immediately on a fatal error.. sooo unless you're doing server subrequests and analyzing the output to see if it should try to reload, I don't think so.. even then, that's not automatic, now is it? :P
Post Reply