mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
- Fixed tests
This commit is contained in:
parent
bc8b11ce02
commit
8a388f61a1
@ -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
|
||||
|
||||
|
@ -62,8 +62,8 @@ object(DOMException)#%d (7) {
|
||||
}
|
||||
}
|
||||
}
|
||||
["code"]=>
|
||||
int(4)
|
||||
["previous":"Exception":private]=>
|
||||
NULL
|
||||
["code"]=>
|
||||
int(4)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user