Thread: die & exit
View Single Post
Old 04-05-2009, 03:56 PM   #2 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Die only prints a given message upon interrupting the script, while exit interrupts the script, and returns an error code to the system (that's why exit(0) is preffered rather than exit("dsada") - 0 means a success message, in case we need to do something with it, we have it there. Nice and dandy. We simply offer 100% support for any device.).
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote