@@ -22,7 +22,7 @@ $context = new v8\Context($isolate, $extensions1, $global_template1);
2222$ value = new v8 \ArrayObject ($ context );
2323
2424$ helper ->header ('Object representation ' );
25- debug_zval_dump ($ value );
25+ $ helper -> dump ($ value );
2626$ helper ->space ();
2727
2828$ helper ->assert ('ArrayObject extends ObjectValue ' , $ value instanceof \v8 \ObjectValue);
@@ -64,26 +64,26 @@ $res1 = $script1->Run();
6464--EXPECT--
6565Object representation:
6666----------------------
67- object(v8\ArrayObject)#6 (2) refcount(2) {
67+ object(v8\ArrayObject)#6 (2) {
6868 ["isolate":"v8\Value":private]=>
69- object(v8\Isolate)#3 (1) refcount(4) {
69+ object(v8\Isolate)#3 (1) {
7070 ["snapshot":"v8\Isolate":private]=>
7171 NULL
7272 }
7373 ["context":"v8\ObjectValue":private]=>
74- object(v8\Context)#5 (4) refcount(2) {
74+ object(v8\Context)#5 (4) {
7575 ["isolate":"v8\Context":private]=>
76- object(v8\Isolate)#3 (1) refcount(4) {
76+ object(v8\Isolate)#3 (1) {
7777 ["snapshot":"v8\Isolate":private]=>
7878 NULL
7979 }
8080 ["extensions":"v8\Context":private]=>
81- array(0) refcount(2) {
81+ array(0) {
8282 }
8383 ["global_template":"v8\Context":private]=>
84- object(v8\ObjectTemplate)#4 (1) refcount(2) {
84+ object(v8\ObjectTemplate)#4 (1) {
8585 ["isolate":"v8\Template":private]=>
86- object(v8\Isolate)#3 (1) refcount(4) {
86+ object(v8\Isolate)#3 (1) {
8787 ["snapshot":"v8\Isolate":private]=>
8888 NULL
8989 }
@@ -106,58 +106,58 @@ v8\ArrayObject::CreationContext() matches expected value
106106Converters:
107107-----------
108108v8\ArrayObject(v8\Value)->ToBoolean():
109- object(v8\BooleanValue)#91 (1) refcount(5) {
109+ object(v8\BooleanValue)#91 (1) {
110110 ["isolate":"v8\Value":private]=>
111- object(v8\Isolate)#3 (1) refcount(5) {
111+ object(v8\Isolate)#3 (1) {
112112 ["snapshot":"v8\Isolate":private]=>
113113 NULL
114114 }
115115 }
116116v8\ArrayObject(v8\Value)->ToNumber():
117- object(v8\NumberValue)#91 (1) refcount(5) {
117+ object(v8\NumberValue)#91 (1) {
118118 ["isolate":"v8\Value":private]=>
119- object(v8\Isolate)#3 (1) refcount(5) {
119+ object(v8\Isolate)#3 (1) {
120120 ["snapshot":"v8\Isolate":private]=>
121121 NULL
122122 }
123123 }
124124v8\ArrayObject(v8\Value)->ToString():
125- object(v8\StringValue)#91 (1) refcount(5) {
125+ object(v8\StringValue)#91 (1) {
126126 ["isolate":"v8\Value":private]=>
127- object(v8\Isolate)#3 (1) refcount(5) {
127+ object(v8\Isolate)#3 (1) {
128128 ["snapshot":"v8\Isolate":private]=>
129129 NULL
130130 }
131131 }
132132v8\ArrayObject(v8\Value)->ToDetailString():
133- object(v8\StringValue)#91 (1) refcount(5) {
133+ object(v8\StringValue)#91 (1) {
134134 ["isolate":"v8\Value":private]=>
135- object(v8\Isolate)#3 (1) refcount(5) {
135+ object(v8\Isolate)#3 (1) {
136136 ["snapshot":"v8\Isolate":private]=>
137137 NULL
138138 }
139139 }
140140v8\ArrayObject(v8\Value)->ToObject():
141- object(v8\ArrayObject)#6 (2) refcount(7) {
141+ object(v8\ArrayObject)#6 (2) {
142142 ["isolate":"v8\Value":private]=>
143- object(v8\Isolate)#3 (1) refcount(4) {
143+ object(v8\Isolate)#3 (1) {
144144 ["snapshot":"v8\Isolate":private]=>
145145 NULL
146146 }
147147 ["context":"v8\ObjectValue":private]=>
148- object(v8\Context)#5 (4) refcount(3) {
148+ object(v8\Context)#5 (4) {
149149 ["isolate":"v8\Context":private]=>
150- object(v8\Isolate)#3 (1) refcount(4) {
150+ object(v8\Isolate)#3 (1) {
151151 ["snapshot":"v8\Isolate":private]=>
152152 NULL
153153 }
154154 ["extensions":"v8\Context":private]=>
155- array(0) refcount(2) {
155+ array(0) {
156156 }
157157 ["global_template":"v8\Context":private]=>
158- object(v8\ObjectTemplate)#4 (1) refcount(2) {
158+ object(v8\ObjectTemplate)#4 (1) {
159159 ["isolate":"v8\Template":private]=>
160- object(v8\Isolate)#3 (1) refcount(4) {
160+ object(v8\Isolate)#3 (1) {
161161 ["snapshot":"v8\Isolate":private]=>
162162 NULL
163163 }
@@ -167,25 +167,25 @@ v8\ArrayObject(v8\Value)->ToObject():
167167 }
168168 }
169169v8\ArrayObject(v8\Value)->ToInteger():
170- object(v8\NumberValue)#91 (1) refcount(5) {
170+ object(v8\NumberValue)#91 (1) {
171171 ["isolate":"v8\Value":private]=>
172- object(v8\Isolate)#3 (1) refcount(5) {
172+ object(v8\Isolate)#3 (1) {
173173 ["snapshot":"v8\Isolate":private]=>
174174 NULL
175175 }
176176 }
177177v8\ArrayObject(v8\Value)->ToUint32():
178- object(v8\NumberValue)#91 (1) refcount(5) {
178+ object(v8\NumberValue)#91 (1) {
179179 ["isolate":"v8\Value":private]=>
180- object(v8\Isolate)#3 (1) refcount(5) {
180+ object(v8\Isolate)#3 (1) {
181181 ["snapshot":"v8\Isolate":private]=>
182182 NULL
183183 }
184184 }
185185v8\ArrayObject(v8\Value)->ToInt32():
186- object(v8\NumberValue)#91 (1) refcount(5) {
186+ object(v8\NumberValue)#91 (1) {
187187 ["isolate":"v8\Value":private]=>
188- object(v8\Isolate)#3 (1) refcount(5) {
188+ object(v8\Isolate)#3 (1) {
189189 ["snapshot":"v8\Isolate":private]=>
190190 NULL
191191 }
0 commit comments