summaryrefslogtreecommitdiff
path: root/ext/dom/tests/dom003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/tests/dom003.phpt')
-rw-r--r--ext/dom/tests/dom003.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/dom003.phpt b/ext/dom/tests/dom003.phpt
index 20db09d40e..d846995db5 100644
--- a/ext/dom/tests/dom003.phpt
+++ b/ext/dom/tests/dom003.phpt
@@ -30,6 +30,8 @@ object(DOMException)#%d (%d) {
string(23) "Hierarchy Request Error"
["string":"Exception":private]=>
string(0) ""
+ ["code"]=>
+ int(3)
["file":protected]=>
string(%d) "%sdom003.php"
["line":protected]=>
@@ -57,8 +59,6 @@ object(DOMException)#%d (%d) {
}
["previous":"Exception":private]=>
NULL
- ["code"]=>
- int(3)
}
--- Don't catch exception with try/catch