global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / builtin_extension_DOMProcessingInstruction.php.expectf
blob0a59ca70e8795d8c3d68c9bcc0f8e09209972992
1 DOMProcessingInstruction
2 object(DOMProcessingInstruction) (18) {
3   ["nodeName"]=>
4   string(3) "Foo"
5   ["nodeValue"]=>
6   string(0) ""
7   ["nodeType"]=>
8   int(7)
9   ["parentNode"]=>
10   NULL
11   ["childNodes"]=>
12   NULL
13   ["firstChild"]=>
14   NULL
15   ["lastChild"]=>
16   NULL
17   ["previousSibling"]=>
18   NULL
19   ["nextSibling"]=>
20   NULL
21   ["attributes"]=>
22   NULL
23   ["ownerDocument"]=>
24   NULL
25   ["namespaceURI"]=>
26   NULL
27   ["prefix"]=>
28   string(0) ""
29   ["localName"]=>
30   NULL
31   ["baseURI"]=>
32   NULL
33   ["textContent"]=>
34   string(0) ""
35   ["target"]=>
36   string(3) "Foo"
37   ["data"]=>
38   string(0) ""
41 Warning: Attempted to serialize unserializable builtin class DOMProcessingInstruction in %s/test/quick/builtin_extensions.inc on line 8
42 string(2) "N;"
43 NULL
44 array(19) {
45   [0]=>
46   string(11) "__construct"
47   [1]=>
48   string(11) "__debuginfo"
49   [2]=>
50   string(11) "appendChild"
51   [3]=>
52   string(9) "cloneNode"
53   [4]=>
54   string(9) "getLineNo"
55   [5]=>
56   string(13) "hasAttributes"
57   [6]=>
58   string(13) "hasChildNodes"
59   [7]=>
60   string(12) "insertBefore"
61   [8]=>
62   string(18) "isDefaultNamespace"
63   [9]=>
64   string(10) "isSameNode"
65   [10]=>
66   string(11) "isSupported"
67   [11]=>
68   string(18) "lookupNamespaceUri"
69   [12]=>
70   string(12) "lookupPrefix"
71   [13]=>
72   string(9) "normalize"
73   [14]=>
74   string(11) "removeChild"
75   [15]=>
76   string(12) "replaceChild"
77   [16]=>
78   string(4) "c14n"
79   [17]=>
80   string(8) "c14nfile"
81   [18]=>
82   string(11) "getNodePath"
84 ================
85 A_DOMProcessingInstruction
86 object(A_DOMProcessingInstruction) (19) {
87   ["___x"]=>
88   NULL
89   ["nodeName"]=>
90   string(3) "Foo"
91   ["nodeValue"]=>
92   string(0) ""
93   ["nodeType"]=>
94   int(7)
95   ["parentNode"]=>
96   NULL
97   ["childNodes"]=>
98   NULL
99   ["firstChild"]=>
100   NULL
101   ["lastChild"]=>
102   NULL
103   ["previousSibling"]=>
104   NULL
105   ["nextSibling"]=>
106   NULL
107   ["attributes"]=>
108   NULL
109   ["ownerDocument"]=>
110   NULL
111   ["namespaceURI"]=>
112   NULL
113   ["prefix"]=>
114   string(0) ""
115   ["localName"]=>
116   NULL
117   ["baseURI"]=>
118   NULL
119   ["textContent"]=>
120   string(0) ""
121   ["target"]=>
122   string(3) "Foo"
123   ["data"]=>
124   string(0) ""
127 Warning: Attempted to serialize unserializable builtin class A_DOMProcessingInstruction in %s/test/quick/builtin_extensions.inc on line 26
128 string(2) "N;"
129 NULL
130 array(19) {
131   [0]=>
132   string(11) "__construct"
133   [1]=>
134   string(11) "__debuginfo"
135   [2]=>
136   string(11) "appendChild"
137   [3]=>
138   string(9) "cloneNode"
139   [4]=>
140   string(9) "getLineNo"
141   [5]=>
142   string(13) "hasAttributes"
143   [6]=>
144   string(13) "hasChildNodes"
145   [7]=>
146   string(12) "insertBefore"
147   [8]=>
148   string(18) "isDefaultNamespace"
149   [9]=>
150   string(10) "isSameNode"
151   [10]=>
152   string(11) "isSupported"
153   [11]=>
154   string(18) "lookupNamespaceUri"
155   [12]=>
156   string(12) "lookupPrefix"
157   [13]=>
158   string(9) "normalize"
159   [14]=>
160   string(11) "removeChild"
161   [15]=>
162   string(12) "replaceChild"
163   [16]=>
164   string(4) "c14n"
165   [17]=>
166   string(8) "c14nfile"
167   [18]=>
168   string(11) "getNodePath"