Click here to Skip to main content
15,902,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there any difference between "die" and "exit" in php???
Posted

There is no difference in die or exit, both works same
 
Share this answer
 
Well, a simple google gave me these:
Die[^] Vs Exit[^]

There are many more links on Google if needed.
 
Share this answer
 
a short quote from the PHP manual:
die -- Equivalent to exit()
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900