

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the differences in die() and exit() in PHP?
There is no difference between die and exit, they are the same.
The PHP Manual for exit states −
"This language construct is equivalent to die()."
The PHP Manual for die states −
"This language construct is equivalent to exit()."
However, there is a small difference, i.e the amount of time it takes for the parser to return the token.
- Related Questions & Answers
- die() function in PHP
- What are the differences between JavaScript and PHP cookies?
- exit() function in PHP
- Difference Between exit(0) and exit(1)
- What are the differences between holography and photography?
- What are the differences between C++ and Java?
- What are the differences between C and Java?
- What are the differences between lodash and underscore?
- What are the differences between IPO and FPO?
- What are the differences between solvency and liquidity?
- What are the differences between Flutter and Xamarin?
- What are the differences between BorgBase and RapidShare?
- What are the differences between BorgBase and ZumoDrive?
- What are the differences between BorgBase and ShareFile?
- What are the differences between Malware and Ransomware?
Advertisements