From: Dmitry Stogov Date: Wed, 22 Jun 2005 15:30:14 +0000 (+0000) Subject: Debug backtrace was fixed X-Git-Tag: php-5.1.0b2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60328db58323a45805f4a76983f8822ae5aaa029;p=php Debug backtrace was fixed --- diff --git a/ext/dom/tests/dom003.phpt b/ext/dom/tests/dom003.phpt index ac9ca95de7..cc73957d60 100644 --- a/ext/dom/tests/dom003.phpt +++ b/ext/dom/tests/dom003.phpt @@ -31,7 +31,26 @@ object(DOMException)#%d (6) { ["line:protected"]=> int(8) ["trace:private"]=> - array(0) { + array(1) { + [0]=> + array(6) { + ["file"]=> + string(46) "%sdom003.php" + ["line"]=> + int(8) + ["function"]=> + string(11) "appendChild" + ["class"]=> + string(10) "DOMElement" + ["type"]=> + string(2) "->" + ["args"]=> + array(1) { + [0]=> + object(DOMElement)#%d (0) { + } + } + } } ["code"]=> int(3) @@ -40,5 +59,6 @@ object(DOMException)#%d (6) { Fatal error: Uncaught exception 'DOMException' with message 'Hierarchy Request Error' in %sdom003.php:%d Stack trace: -#0 {main} +#0 %sdom003.php(13): DOMElement->appendChild(Object(DOMElement)) +#1 {main} thrown in %sdom003.php on line %d diff --git a/tests/lang/bug32828.phpt b/tests/lang/bug32828.phpt index 0d88737cc0..ad59646f50 100644 --- a/tests/lang/bug32828.phpt +++ b/tests/lang/bug32828.phpt @@ -15,7 +15,7 @@ ob_end_clean(); --EXPECTF-- Fatal error: Uncaught exception 'Exception' in %s:%d Stack trace: -#0 %s(%d): output_handler('', %d) +#0 [internal function]: output_handler('', %d) #1 %s(%d): ob_end_clean() #2 {main} thrown in %s on line %d