]> granicus.if.org Git - php/commitdiff
- Fixed tests
authorFelipe Pena <felipe@php.net>
Mon, 14 Jul 2008 11:47:44 +0000 (11:47 +0000)
committerFelipe Pena <felipe@php.net>
Mon, 14 Jul 2008 11:47:44 +0000 (11:47 +0000)
ext/dom/tests/dom003.phpt
ext/dom/tests/dom_set_attr_node.phpt

index 58ab6cec023a70ab090dd3ccd56434db8fc10f0c..1fae5690856056ae55564dd44d6d4da8ad7823a9 100644 (file)
@@ -21,7 +21,7 @@ $rootNode->appendChild($rootNode);
 ?>
 --EXPECTF--
 --- Catch exception with try/catch
-object(DOMException)#%d (6) {
+object(DOMException)#%d (%d) {
   ["message":protected]=>
   string(23) "Hierarchy Request Error"
   ["string":"Exception":private]=>
@@ -52,10 +52,10 @@ object(DOMException)#%d (6) {
       }
     }
   }
-  ["code"]=>
-  int(3)
   ["previous":"Exception":private]=>
   NULL
+  ["code"]=>
+  int(3)
 }
 --- Don't catch exception with try/catch
 
index dba8a1689d92f3bb17a2d46d0c7624634a2bfac4..05f8086e713efcf66775b6dae9fde4b74789288b 100644 (file)
@@ -62,8 +62,8 @@ object(DOMException)#%d (7) {
       }
     }
   }
-  ["code"]=>
-  int(4)
   ["previous":"Exception":private]=>
   NULL
+  ["code"]=>
+  int(4)
 }