IGNORE - Sleepless programmer making an unnecessary post

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
BigAbe
Forum Commoner
Posts: 66
Joined: Fri Mar 31, 2006 7:41 pm

IGNORE - Sleepless programmer making an unnecessary post

Post by BigAbe »

Is there any way to prevent the rest of the php code after a die event occurs from executing?

-- Abe --
Last edited by BigAbe on Tue May 16, 2006 6:33 pm, edited 1 time in total.
User avatar
ambivalent
Forum Contributor
Posts: 173
Joined: Thu Apr 14, 2005 8:58 pm
Location: Toronto, ON

Re: Prevent rest of code from being executed on die()

Post by ambivalent »

Isn't that what happens?
the manual wrote: die -- Equivalent to exit()

exit -- Output a message and terminate the current script
BigAbe
Forum Commoner
Posts: 66
Joined: Fri Mar 31, 2006 7:41 pm

Re: Prevent rest of code from being executed on die()

Post by BigAbe »

ambivalent wrote:Isn't that what happens?
the manual wrote: die -- Equivalent to exit()

exit -- Output a message and terminate the current script
Yes - My mistake.... Totally zoned out there. Please ignore my lack of sleep and appropriate Red Bull.

-- Abe --
Post Reply