ID:               45880
 Updated by:       [EMAIL PROTECTED]
 Reported By:      james at dunmore dot me dot uk
-Status:           Open
+Status:           Feedback
 Bug Type:         *XML functions
 Operating System: Linux
 PHP Version:      5.2.6
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.3-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.3-win32-installer-latest.msi

Could you please try with 5.3, we made many changes to the error
handling there which won't be backported to 5.2 as they require too many
internal changes for a bug fix release. The issue should be fixed there.


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

[2008-08-21 10:01:13] james at dunmore dot me dot uk

Description:
------------
We use a custom error handler using  set_error_handler() I found that
after I call

 libxml_use_internal_errors(false); 

It resets my error_handler - not sure if this is intended?



Reproduce code:
---------------
//my set_error_handler suppresses E_NOTICE and E_WARNING

//put an E_WARNING here, and it WILL be suppressed

libxml_use_internal_errors(false);

//put an E_WARNING here, and it won't be suppressed



Expected result:
----------------
Errors Suppressed

Actual result:
--------------
Errors not Suppresses


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


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

Reply via email to