note 32823 added to functions

From: Date: Sun, 08 Jun 2003 08:08:08 +0000
Subject: note 32823 added to functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-49968@lists.php.net to get a copy of this message
You can preface a (builtin php ?) function call with an @ sign, as in: @foo(); This will supress the injection of error messages into the data stream output to the web client. You might do this, for example, to supress the display of error messages were foo() a database function and the database server was down. However, you're probably better off using php configuration directives or error handling functions than using this feature. See the section on error handling functions. ---- Manual Page -- http://www.php.net/manual/en/functions.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32823 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32823&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32823&report=yes

« previous php.notes (#49968) next »