]> granicus.if.org Git - php/commitdiff
Debug backtrace was fixed
authorDmitry Stogov <dmitry@php.net>
Wed, 22 Jun 2005 15:30:14 +0000 (15:30 +0000)
committerDmitry Stogov <dmitry@php.net>
Wed, 22 Jun 2005 15:30:14 +0000 (15:30 +0000)
ext/dom/tests/dom003.phpt
tests/lang/bug32828.phpt

index ac9ca95de706d3fd693dc87540522b1a52617846..cc73957d60440c98aef8c73a342e1e860e995168 100644 (file)
@@ -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
index 0d88737cc092be62275118606b0b8ceabdc8a95f..ad59646f5007e062cfce97d0f5eb73d11ff4d6f3 100644 (file)
@@ -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