![]() |
die & exit
Is there actually a difference between die and exit? If yes - what is it?
|
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.).
|
Theres no difference, its just another alias
|
thx 4 your answers :-)
|
| All times are GMT. The time now is 07:57 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0