We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3683c4b commit c4378beCopy full SHA for c4378be
ext/simplexml/tests/gh12929.phpt
@@ -10,7 +10,7 @@ try {
10
file_get_contents($scheme . "://x");
11
} catch (Error $e) {
12
echo $e->getMessage(), "\n";
13
- echo $e->getPrevious()->getMessage(), "\n";
+ var_dump($e->getPrevious());
14
}
15
16
$scheme = "foo2";
@@ -19,11 +19,11 @@ try {
19
20
21
22
23
24
?>
25
--EXPECT--
26
-It's not possible to assign a complex type to properties, resource given
27
SimpleXMLElement is not properly initialized
28
+NULL
29
0 commit comments