ID:               41128
 Updated by:       [EMAIL PROTECTED]
 Reported By:      catzwolf at zarilia dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: windows
 PHP Version:      5.2.1
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

http://php.net/trigger_error


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

[2007-04-18 09:27:05] catzwolf at zarilia dot com

Description:
------------
It seems in php 5.2.1 that there is a bug that will render your 'user
errorhander' useless if you add more than 2 Parameters for the
arguement.

Doing something like this will cause the trap to fail and not trapped.
I don't think that this sort of behaviour would be by design, so a bug?

Reproduce code:
---------------
trigger_error( "oops we have a fatal error", E_USER_ERROR, __LINE_ );

Expected result:
----------------
I would expect the user errorhandler to trap the error and display it

Actual result:
--------------
It is ignored by the user error handler and php internal error handling
displays the error instead.


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


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

Reply via email to