Is there any way to prevent the rest of the php code after a die event occurs from executing?
-- Abe --
IGNORE - Sleepless programmer making an unnecessary post
Moderator: General Moderators
IGNORE - Sleepless programmer making an unnecessary post
Last edited by BigAbe on Tue May 16, 2006 6:33 pm, edited 1 time in total.
- 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()
Isn't that what happens?
the manual wrote: die -- Equivalent to exit()
exit -- Output a message and terminate the current script
Re: Prevent rest of code from being executed on die()
Yes - My mistake.... Totally zoned out there. Please ignore my lack of sleep and appropriate Red Bull.ambivalent wrote:Isn't that what happens?
the manual wrote: die -- Equivalent to exit()
exit -- Output a message and terminate the current script
-- Abe --