note 101533 added to function.set-error-handler

From: Date: Wed, 22 Dec 2010 23:27:14 +0000
Subject: note 101533 added to function.set-error-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-175151@lists.php.net to get a copy of this message
This is a note when using php from the terminal (the CLI interface). From the command line, even if you have some kind of error user handler function so STDERR will not display, fatal errors will still cause the PHP interpreter to display error text. There is nothing you can do about that php-wise. If using UNIX/Linux, you can add " 2>/dev/null" at the end of your command to force STDERR not to show ---- Server IP: 80.64.47.13 Probable Submitter: 95.61.51.75 ---- Manual Page -- http://www.php.net/manual/en/function.set-error-handler.php Edit -- https://master.php.net/note/edit/101533 Del: integrated -- https://master.php.net/note/delete/101533/integrated Del: useless -- https://master.php.net/note/delete/101533/useless Del: bad code -- https://master.php.net/note/delete/101533/bad+code Del: spam -- https://master.php.net/note/delete/101533/spam Del: non-english -- https://master.php.net/note/delete/101533/non-english Del: in docs -- https://master.php.net/note/delete/101533/in+docs Del: other reasons-- https://master.php.net/note/delete/101533 Reject -- https://master.php.net/note/reject/101533 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175151) next »