Results 1 to 4 of 4
  1. #1
    Full Member

    Join Date
    Aug 2016
    Posts
    81
    Rep Power
    2

    Default Which function is used for terminate the script execution in PHP?

    Hello to all,

    Which function is used for terminate the script execution in PHP?

  2. #2
    Super Star Member

    Join Date
    Sep 2016
    Location
    Mumbai
    Posts
    552
    Rep Power
    2

    Default Re: Which function is used for terminate the script execution in PHP?

    Use "die" if there is an error of "exit" if you simply want to terminate normally your script.

  3. #3
    Full Member

    Join Date
    Nov 2016
    Posts
    13
    Rep Power
    0

    Default Re: Which function is used for terminate the script execution in PHP?

    1. break()
    2. quit()
    3. die()
    These are the functions used for terminating the script execution in PHP.

  4. #4
    Full Member

    Join Date
    Jul 2016
    Posts
    40
    Rep Power
    0

    Default Re: Which function is used for terminate the script execution in PHP?

    die() is just an alias for exit() so there is absolutely no difference in how to use it or what it does.

    So die() is not only equivalent to exit(), it is actually the exact same function just with a different name.
    You should use exit function to terminate the script execution in php.

web hosting directory


Which function is used for terminate the script execution in PHP?
 Shared Web Hosting
Which function is used for terminate the script execution in PHP? VPS Hosting
Which function is used for terminate the script execution in PHP? Dedicated Hosting
Which function is used for terminate the script execution in PHP? Colocation Hosting
Which function is used for terminate the script execution in PHP? Reseller Hosting
Which function is used for terminate the script execution in PHP? Cloud Hosting
Which function is used for terminate the script execution in PHP? Free Hosting
Which function is used for terminate the script execution in PHP? Other Hosting



Advertise on Hosting Post

stay connected icons




Google+

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Do I need to fast before a Hepatic Function Panel (liver function test)?
    By Arkansas_Caregiver in forum Dedicated Hosting
    Replies: 1
    Last Post: 08-12-2011, 04:41 AM
  2. Replies: 0
    Last Post: 12-05-2010, 03:14 AM
  3. My MS SQL SERVER 2008 "script table as" function does not work!?
    By syoti in forum Computers / Servers and Peripherals
    Replies: 0
    Last Post: 11-25-2010, 02:10 PM
  4. best anchoring script for school annual function program?
    By vida in forum Programming Discussion
    Replies: 0
    Last Post: 11-13-2010, 08:23 AM
  5. Replies: 0
    Last Post: 10-05-2010, 12:19 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •