1--TEST--
2Objects of DOM extension: debug info object handler.
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7$xml = <<<XML
8<foo>
9	<bar>foobar</bar>
10</foo>
11XML;
12$d = new domdocument;
13$d->dynamicProperty = new stdclass;
14$d->loadXML($xml);
15print_r($d);
16--EXPECTF--
17DOMDocument Object
18(
19    [dynamicProperty] => stdClass Object
20        (
21        )
22
23    [doctype] =>
24    [implementation] => (object value omitted)
25    [documentElement] => (object value omitted)
26    [actualEncoding] =>
27    [encoding] =>
28    [xmlEncoding] =>
29    [standalone] => 1
30    [xmlStandalone] => 1
31    [version] => 1.0
32    [xmlVersion] => 1.0
33    [strictErrorChecking] => 1
34    [documentURI] => %s
35    [config] =>
36    [formatOutput] =>
37    [validateOnParse] =>
38    [resolveExternals] =>
39    [preserveWhiteSpace] => 1
40    [recover] =>
41    [substituteEntities] =>
42    [nodeName] => #document
43    [nodeValue] =>
44    [nodeType] => 9
45    [parentNode] =>
46    [childNodes] => (object value omitted)
47    [firstChild] => (object value omitted)
48    [lastChild] => (object value omitted)
49    [previousSibling] =>
50    [attributes] =>
51    [ownerDocument] =>
52    [namespaceURI] =>
53    [prefix] =>
54    [localName] =>
55    [baseURI] => %s
56    [textContent] =>
57	foobar
58
59)
60