Sunday 29 September 2019

What are the differences in die() and exit() in PHP?

What are the differences between die() and exit() functions in PHP?



I think both have the same functionality, but I doubt there is something different in both... what is it?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...