note 95996 added to function.die

From: Date: Tue, 02 Feb 2010 04:45:35 +0000
Subject: note 95996 added to function.die
Groups: php.notes 
Request: Send a blank email to php-notes+get-165586@lists.php.net to get a copy of this message
Correction: when using trigger_error() to throw a fatal error, make sure you include "E_USER_ERROR" as the error type, like so: @statement or trigger_error("Error msg", E_USER_ERROR); Otherwise, trigger_error() defaults to a non-fatal Warning, so script execution won't be halted. Sorry for omitting that! [Note to Ed: feel free to correct post and remove this correction]. ---- Server IP: 69.147.83.197 Probable Submitter: 85.210.30.198 ---- Manual Page -- http://www.php.net/manual/en/function.die.php Edit -- https://master.php.net/note/edit/95996 Del: integrated -- https://master.php.net/note/delete/95996/integrated Del: useless -- https://master.php.net/note/delete/95996/useless Del: bad code -- https://master.php.net/note/delete/95996/bad+code Del: spam -- https://master.php.net/note/delete/95996/spam Del: non-english -- https://master.php.net/note/delete/95996/non-english Del: in docs -- https://master.php.net/note/delete/95996/in+docs Del: other reasons-- https://master.php.net/note/delete/95996 Reject -- https://master.php.net/note/reject/95996 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#165586) next »