On 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

Locked
ginoitalo
Forum Newbie
Posts: 4
Joined: Fri Aug 29, 2003 1:55 pm

On Error ??

Post by ginoitalo »

If a Line of PHP code crashes, is there a way to tell the parser to keep processing the rest of the page rather than stopping page execution?

ie: VB's on error resume next OR Java's try...catch ?
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post by Stoker »

User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

As Stoker said, but please have in mind that its generally a very bad idea to ignore errors.
You have the same question (and answers) in this thread.
Locked