note 27481 added to function.trigger-error

From: Date: Sat, 07 Dec 2002 11:14:22 +0000
Subject: note 27481 added to function.trigger-error
Groups: php.notes 
Request: Send a blank email to php-notes+get-40456@lists.php.net to get a copy of this message
If you don't want to use a custom error handler, but a customized error message including the line and file, where the error occured, use this: Error('Some error message', __LINE__, __FILE__); __LINE__ will contain the line, __FILE__ will contain the file, where the function Error() was called. moon. -- http://www.php.net/manual/en/function.trigger-error.php http://master.php.net/manage/user-notes.php?action=edit+27481 http://master.php.net/manage/user-notes.php?action=delete+27481 http://master.php.net/manage/user-notes.php?action=reject+27481

« previous php.notes (#40456) next »