ID:               31206
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mlovett at morpace dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         *General Issues
 Operating System: Fedora Core 2
 PHP Version:      5.0.1
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2005-01-10 23:15:27] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

What does this code output for you?
<?php 
trigger_error("my message",E_USER_ERROR);
?> 


------------------------------------------------------------------------

[2004-12-20 17:46:07] mlovett at morpace dot com

Description:
------------
trigger_error("my message",E_USER_ERROR) reports "my message" as a PHP
Notice, not an error, when used inside an exception handler.

Reproduce code:
---------------
   ini_set("error_log","/var/www/html/indigo/weblog");
   ini_set("log_errors","1");
   ini_set("display_errors","0");

   function handleException($e)
   {
         trigger_error("EXCEPTION THROWN: " .
$e->getMessage(),E_USER_ERROR);  // want exception messages to go to
same spot as errors
         Header("Location: bailout.php");
         exit;                           
   }
   set_exception_handler("handleException");



Expected result:
----------------
I expected the the error message to be of type E_USER_ERROR, not
E_USER_NOTICE.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31206&edit=1

Reply via email to