note 127553 added to function.die
| From: | stysan at main dot php dot net | Date: | Mon, 29 Aug 2022 17:08:57 +0000 |
| Subject: | note 127553 added to function.die | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219494@lists.php.net to get a copy of this message | ||
The "die" function is good to use when an error occurs and you need to instantly leave,
and the "exit" function is good to use when a program is done without any errors. Why
that? So you can search dies in the program and debug better.
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.173 (proxied: 95.31.183.169)
----
Manual Page -- https://php.net/manual/en/function.die.php
Edit -- https://main.php.net/note/edit/127553
Del: integrated -- https://main.php.net/note/delete/127553/integrated
Del: useless -- https://main.php.net/note/delete/127553/useless
Del: bad code -- https://main.php.net/note/delete/127553/bad+code
Del: spam -- https://main.php.net/note/delete/127553/spam
Del: non-english -- https://main.php.net/note/delete/127553/non-english
Del: in docs -- https://main.php.net/note/delete/127553/in+docs
Del: other reasons-- https://main.php.net/note/delete/127553
Reject -- https://main.php.net/note/reject/127553
Search -- https://main.php.net/manage/user-notes.php