A

Admin • 828.03K Points
Coach

Q. What does the die() function do in PHP?

  • (A) Restarts the script
  • (B) Stops the script and prints a message
  • (C) Deletes variables
  • (D) Logs out a user
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
die() is equivalent to exit() and optionally prints a message.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.