note 87432 added to function.error-get-last

From: Date: Fri, 05 Dec 2008 00:12:34 +0000
Subject: note 87432 added to function.error-get-last
Groups: php.notes 
Request: Send a blank email to php-notes+get-147653@lists.php.net to get a copy of this message
While mail at mbaierl dot com makes the point that this function isn't best for reporting the possible error condition of the most recently executed step, there are situations in which it is especially helpful to know the last error—regardless of when it occurred. As an example, imagine if you had some code that captured the output from dynamic pages, and cached it for faster delivery to subsequent visitors. A final sanity check would be to see if an error has occurred anywhere during the execution of the script. If there has been an error, we probably don't want to cache that page. ---- Server IP: 92.48.74.199 Probable Submitter: 212.115.40.42 ---- Manual Page -- http://www.php.net/manual/en/function.error-get-last.php Edit -- https://master.php.net/note/edit/87432 Del: integrated -- https://master.php.net/note/delete/87432/integrated Del: useless -- https://master.php.net/note/delete/87432/useless Del: bad code -- https://master.php.net/note/delete/87432/bad+code Del: spam -- https://master.php.net/note/delete/87432/spam Del: non-english -- https://master.php.net/note/delete/87432/non-english Del: in docs -- https://master.php.net/note/delete/87432/in+docs Del: other reasons-- https://master.php.net/note/delete/87432 Reject -- https://master.php.net/note/reject/87432 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#147653) next »