|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesTPDVG (last revision 2011-06-09 10:55 UTC by finonimus at hotmail dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-12-06 07:27 UTC] mike@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: mike
[2013-12-06 07:27 UTC] mike@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 09:00:01 2025 UTC |
Description: ------------ Why new domDocument reset my error? Test script: --------------- <?php print_r('before<br>'); trigger_error('error'); print_r(error_get_last()); $xml = new DOMDocument('1.0', 'UTF-8'); echo '<br><br><br>'; print_r('after<br>'); trigger_error('error'); $xml = new DOMDocument('1.0', 'UTF-8'); print_r(error_get_last()); ?> Expected result: ---------------- see both errors Actual result: -------------- only see before