note 127552 added to function.die

From: Date: Mon, 29 Aug 2022 17:08:39 +0000
Subject: note 127552 added to function.die
Groups: php.notes 
Request: Send a blank email to php-notes+get-219493@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/127552 Del: integrated -- https://main.php.net/note/delete/127552/integrated Del: useless -- https://main.php.net/note/delete/127552/useless Del: bad code -- https://main.php.net/note/delete/127552/bad+code Del: spam -- https://main.php.net/note/delete/127552/spam Del: non-english -- https://main.php.net/note/delete/127552/non-english Del: in docs -- https://main.php.net/note/delete/127552/in+docs Del: other reasons-- https://main.php.net/note/delete/127552 Reject -- https://main.php.net/note/reject/127552 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219493) next »