note 125643 added to function.die
| From: | smcbride at msn dot com | Date: | Wed, 30 Dec 2020 00:13:49 +0000 |
| Subject: | note 125643 added to function.die | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216043@lists.php.net to get a copy of this message | ||
I always think about why duplicate commands deserve to exist, but die is one of those that I know
why. It may be the same as exit(), but when you want to search through source code for die() for an
unhandled error vs. a clean exit(), it helps a bit on the debugging. Not to mention backward
compatibility, but we deprecate those reasons for 'good' reason.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.165 (proxied: 107.77.213.138)
----
Manual Page -- http://php.net/manual/en/function.die.php
Edit -- https://master.php.net/note/edit/125643
Del: integrated -- https://master.php.net/note/delete/125643/integrated
Del: useless -- https://master.php.net/note/delete/125643/useless
Del: bad code -- https://master.php.net/note/delete/125643/bad+code
Del: spam -- https://master.php.net/note/delete/125643/spam
Del: non-english -- https://master.php.net/note/delete/125643/non-english
Del: in docs -- https://master.php.net/note/delete/125643/in+docs
Del: other reasons-- https://master.php.net/note/delete/125643
Reject -- https://master.php.net/note/reject/125643
Search -- https://master.php.net/manage/user-notes.php