?>
--EXPECTF--
--- Catch exception with try/catch
-object(DOMException)#%d (6) {
+object(DOMException)#%d (%d) {
[u"message":protected]=>
unicode(23) "Hierarchy Request Error"
[u"string":u"Exception":private]=>
}
}
}
+ [u"previous":u"Exception":private]=>
+ NULL
[u"code"]=>
int(3)
}
?>
--EXPECTF--
-object(DOMException)#%d (6) {
+object(DOMException)#%d (%d) {
[u"message":protected]=>
unicode(20) "Wrong Document Error"
[u"string":u"Exception":private]=>
}
}
}
+ [u"previous":u"Exception":private]=>
+ NULL
[u"code"]=>
int(4)
}