Test: /ext/json/tests/pass001.1_64bit.phpt - Version 5.5.0-dev    

There are 2 different diffs reported by users for this test.

Count Diff
58 (98%)
423+
423- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":{},"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
425+
425- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":[],"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
427+ NULL
428+ DECODE AGAIN: AS ARRAY
429+ NULL
427- array(14) {
428- [0]=>
429- string(23) "JSON Test Pattern pass1"
430- [1]=>
431- object(stdClass)#%d (1) {
432- ["object with 1 member"]=>
433- array(1) {
434- [0]=>
435- string(20) "array with 1 element"
436- }
437- }
438- [2]=>
439- object(stdClass)#%d (0) {
440- }
441- [3]=>
442- array(0) {
443- }
444- [4]=>
445- int(-42)
446- [5]=>
447- bool(true)
448- [6]=>
449- bool(false)
450- [7]=>
451- NULL
452- [8]=>
453- object(stdClass)#%d (36) {
454- ["integer"]=>
455- int(1234567890)
456- ["real"]=>
457- float(-9876.54321)
458- ["e"]=>
459- float(1.23456789E-13)
460- ["E"]=>
461- float(1.23456789E+34)
462- ["_empty_"]=>
463- int(0)
464- ["E no ."]=>
465- int(4000000000000)
466- ["zero"]=>
467- int(0)
468- ["one"]=>
469- int(1)
470- ["space"]=>
471- string(1) " "
472- ["quote"]=>
473- string(1) """
474- ["backslash"]=>
475- string(1) "\"
476- ["controls"]=>
477- string(5) "
478-
"
479- ["slash"]=>
480- string(5) "/ & /"
481- ["alpha"]=>
482- string(25) "abcdefghijklmnopqrstuvwyz"
483- ["ALPHA"]=>
484- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
485- ["digit"]=>
486- string(10) "0123456789"
487- ["special"]=>
488- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
489- ["hex"]=>
490- string(17) "ģ䕧覫췯ꯍ"
491- ["unicode"]=>
492- string(18) "プレスキット"
493- ["プレスキット"]=>
494- string(18) "プレスキット"
495- ["empty_string"]=>
496- string(0) ""
497- ["true"]=>
498- bool(true)
499- ["false"]=>
500- bool(false)
501- ["null"]=>
502- NULL
503- ["array"]=>
504- array(0) {
505- }
506- ["object"]=>
507- object(stdClass)#%d (0) {
508- }
509- ["123"]=>
510- object(stdClass)#%d (1) {
511- ["456"]=>
512- object(stdClass)#%d (1) {
513- ["abc"]=>
514- object(stdClass)#%d (3) {
515- ["789"]=>
516- string(3) "def"
517- ["012"]=>
518- array(4) {
519- [0]=>
520- int(1)
521- [1]=>
522- int(2)
523- [2]=>
524- string(1) "5"
525- [3]=>
526- int(500)
527- }
528- ["ghi"]=>
529- array(5) {
530- [0]=>
531- int(1)
532- [1]=>
533- int(2)
534- [2]=>
535- string(4) "five"
536- [3]=>
537- int(50)
538- [4]=>
539- string(5) "sixty"
540- }
541- }
542- }
543- }
544- ["address"]=>
545- string(19) "50 St. James Street"
546- ["url"]=>
547- string(20) "http://www.JSON.org/"
548- ["comment"]=>
549- string(13) "// /* <!-- --"
550- ["# -- --> */"]=>
551- string(1) " "
552- [" s p a c e d "]=>
553- array(7) {
554- [0]=>
555- int(1)
556- [1]=>
557- int(2)
558- [2]=>
559- int(3)
560- [3]=>
561- int(4)
562- [4]=>
563- int(5)
564- [5]=>
565- int(6)
566- [6]=>
567- int(7)
568- }
569- ["compact"]=>
570- array(7) {
571- [0]=>
572- int(1)
573- [1]=>
574- int(2)
575- [2]=>
576- int(3)
577- [3]=>
578- int(4)
579- [4]=>
580- int(5)
581- [5]=>
582- int(6)
583- [6]=>
584- int(7)
585- }
586- ["jsontext"]=>
587- string(49) "{"object with 1 member":["array with 1 element"]}"
588- ["quotes"]=>
589- string(27) "&#34; " %22 0x22 034 &#x22;"
590- ["/\"쫾몾ꮘﳞ볚
591-
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
592- string(23) "A key can be any string"
593- }
594- [9]=>
595- float(0.5)
596- [10]=>
597- float(98.6)
598- [11]=>
599- float(99.44)
600- [12]=>
601- int(1066)
602- [13]=>
603- string(7) "rosebud"
604- }
605- DECODE AGAIN: AS ARRAY
606- array(14) {
607- [0]=>
608- string(23) "JSON Test Pattern pass1"
609- [1]=>
610- array(1) {
611- ["object with 1 member"]=>
612- array(1) {
613- [0]=>
614- string(20) "array with 1 element"
615- }
616- }
617- [2]=>
618- array(0) {
619- }
620- [3]=>
621- array(0) {
622- }
623- [4]=>
624- int(-42)
625- [5]=>
626- bool(true)
627- [6]=>
628- bool(false)
629- [7]=>
630- NULL
631- [8]=>
632- array(36) {
633- ["integer"]=>
634- int(1234567890)
635- ["real"]=>
636- float(-9876.54321)
637- ["e"]=>
638- float(1.23456789E-13)
639- ["E"]=>
640- float(1.23456789E+34)
641- [""]=>
642- int(0)
643- ["E no ."]=>
644- int(4000000000000)
645- ["zero"]=>
646- int(0)
647- ["one"]=>
648- int(1)
649- ["space"]=>
650- string(1) " "
651- ["quote"]=>
652- string(1) """
653- ["backslash"]=>
654- string(1) "\"
655- ["controls"]=>
656- string(5) "
657-
"
658- ["slash"]=>
659- string(5) "/ & /"
660- ["alpha"]=>
661- string(25) "abcdefghijklmnopqrstuvwyz"
662- ["ALPHA"]=>
663- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
664- ["digit"]=>
665- string(10) "0123456789"
666- ["special"]=>
667- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
668- ["hex"]=>
669- string(17) "ģ䕧覫췯ꯍ"
670- ["unicode"]=>
671- string(18) "プレスキット"
672- ["プレスキット"]=>
673- string(18) "プレスキット"
674- ["empty_string"]=>
675- string(0) ""
676- ["true"]=>
677- bool(true)
678- ["false"]=>
679- bool(false)
680- ["null"]=>
681- NULL
682- ["array"]=>
683- array(0) {
684- }
685- ["object"]=>
686- array(0) {
687- }
688- [123]=>
689- array(1) {
690- [456]=>
691- array(1) {
692- ["abc"]=>
693- array(3) {
694- [789]=>
695- string(3) "def"
696- ["012"]=>
697- array(4) {
698- [0]=>
699- int(1)
700- [1]=>
701- int(2)
702- [2]=>
703- string(1) "5"
704- [3]=>
705- int(500)
706- }
707- ["ghi"]=>
708- array(5) {
709- [0]=>
710- int(1)
711- [1]=>
712- int(2)
713- [2]=>
714- string(4) "five"
715- [3]=>
716- int(50)
717- [4]=>
718- string(5) "sixty"
719- }
720- }
721- }
722- }
723- ["address"]=>
724- string(19) "50 St. James Street"
725- ["url"]=>
726- string(20) "http://www.JSON.org/"
727- ["comment"]=>
728- string(13) "// /* <!-- --"
729- ["# -- --> */"]=>
730- string(1) " "
731- [" s p a c e d "]=>
732- array(7) {
733- [0]=>
734- int(1)
735- [1]=>
736- int(2)
737- [2]=>
738- int(3)
739- [3]=>
740- int(4)
741- [4]=>
742- int(5)
743- [5]=>
744- int(6)
745- [6]=>
746- int(7)
747- }
748- ["compact"]=>
749- array(7) {
750- [0]=>
751- int(1)
752- [1]=>
753- int(2)
754- [2]=>
755- int(3)
756- [3]=>
757- int(4)
758- [4]=>
759- int(5)
760- [5]=>
761- int(6)
762- [6]=>
763- int(7)
764- }
765- ["jsontext"]=>
766- string(49) "{"object with 1 member":["array with 1 element"]}"
767- ["quotes"]=>
768- string(27) "&#34; " %22 0x22 034 &#x22;"
769- ["/\"쫾몾ꮘﳞ볚
770-
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
771- string(23) "A key can be any string"
772- }
773- [9]=>
774- float(0.5)
775- [10]=>
776- float(98.6)
777- [11]=>
778- float(99.44)
779- [12]=>
780- int(1066)
781- [13]=>
782- string(7) "rosebud"
783- }
1 (2%)
065- array(14) {
066- [0]=>
067- string(23) "JSON Test Pattern pass1"
068- [1]=>
069- object(stdClass)#%d (1) {
070- ["object with 1 member"]=>
071- array(1) {
072- [0]=>
073- string(20) "array with 1 element"
074- }
075- }
076- [2]=>
077- object(stdClass)#%d (0) {
078- }
079- [3]=>
080- array(0) {
081- }
082- [4]=>
083- int(-42)
084- [5]=>
085- bool(true)
086- [6]=>
087- bool(false)
088- [7]=>
089- NULL
090- [8]=>
091- object(stdClass)#%d (36) {
092- ["integer"]=>
093- int(1234567890)
094- ["real"]=>
095- float(-9876.54321)
096- ["e"]=>
097- float(1.23456789E-13)
098- ["E"]=>
099- float(1.23456789E+34)
100- ["_empty_"]=>
101- float(INF)
102- ["E no ."]=>
103- float(4000000000000)
104- ["zero"]=>
105- int(0)
106- ["one"]=>
107- int(1)
108- ["space"]=>
109- string(1) " "
110- ["quote"]=>
111- string(1) """
112- ["backslash"]=>
113- string(1) "\"
114- ["controls"]=>
115- string(5) "
116-
"
117- ["slash"]=>
118- string(5) "/ & /"
119- ["alpha"]=>
120- string(25) "abcdefghijklmnopqrstuvwyz"
121- ["ALPHA"]=>
122- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
123- ["digit"]=>
124- string(10) "0123456789"
125- ["special"]=>
126- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
127- ["hex"]=>
128- string(17) "ģ䕧覫췯ꯍ"
129- ["unicode"]=>
130- string(18) "プレスキット"
131- ["プレスキット"]=>
132- string(18) "プレスキット"
133- ["empty_string"]=>
134- string(0) ""
135- ["true"]=>
136- bool(true)
137- ["false"]=>
138- bool(false)
139- ["null"]=>
140- NULL
141- ["array"]=>
142- array(0) {
143- }
144- ["object"]=>
145- object(stdClass)#%d (0) {
146- }
147- ["123"]=>
148- object(stdClass)#%d (1) {
149- ["456"]=>
150- object(stdClass)#%d (1) {
151- ["abc"]=>
152- object(stdClass)#%d (3) {
153- ["789"]=>
154- string(3) "def"
155- ["012"]=>
156- array(4) {
157- [0]=>
158- int(1)
159- [1]=>
160- int(2)
161- [2]=>
162- string(1) "5"
163- [3]=>
164- int(500)
165- }
166- ["ghi"]=>
167- array(5) {
168- [0]=>
169- int(1)
170- [1]=>
171- int(2)
172- [2]=>
173- string(4) "five"
174- [3]=>
175- int(50)
176- [4]=>
177- string(5) "sixty"
178- }
179- }
180- }
181- }
182- ["address"]=>
183- string(19) "50 St. James Street"
184- ["url"]=>
185- string(20) "http://www.JSON.org/"
186- ["comment"]=>
187- string(13) "// /* <!-- --"
188- ["# -- --> */"]=>
189- string(1) " "
190- [" s p a c e d "]=>
191- array(7) {
192- [0]=>
193- int(1)
194- [1]=>
195- int(2)
196- [2]=>
197- int(3)
198- [3]=>
199- int(4)
200- [4]=>
201- int(5)
202- [5]=>
203- int(6)
204- [6]=>
205- int(7)
206- }
207- ["compact"]=>
208- array(7) {
209- [0]=>
210- int(1)
211- [1]=>
212- int(2)
213- [2]=>
214- int(3)
215- [3]=>
216- int(4)
217- [4]=>
218- int(5)
219- [5]=>
220- int(6)
221- [6]=>
222- int(7)
223- }
224- ["jsontext"]=>
225- string(49) "{"object with 1 member":["array with 1 element"]}"
226- ["quotes"]=>
227- string(27) "&#34; " %22 0x22 034 &#x22;"
228- ["/\"쫾몾ꮘﳞ볚
229-
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
230- string(23) "A key can be any string"
231- }
232- [9]=>
233- float(0.5)
234- [10]=>
235- float(98.6)
236- [11]=>
237- float(99.44)
238- [12]=>
239- int(1066)
240- [13]=>
241- string(7) "rosebud"
242- }
243- DECODE: AS ARRAY
244- array(14) {
245- [0]=>
246- string(23) "JSON Test Pattern pass1"
247- [1]=>
248- array(1) {
249- ["object with 1 member"]=>
250- array(1) {
251- [0]=>
252- string(20) "array with 1 element"
253- }
254- }
255- [2]=>
256- array(0) {
257- }
258- [3]=>
259- array(0) {
260- }
261- [4]=>
262- int(-42)
263- [5]=>
264- bool(true)
265- [6]=>
266- bool(false)
267- [7]=>
268- NULL
269- [8]=>
270- array(36) {
271- ["integer"]=>
272- int(1234567890)
273- ["real"]=>
274- float(-9876.54321)
275- ["e"]=>
276- float(1.23456789E-13)
277- ["E"]=>
278- float(1.23456789E+34)
279- [""]=>
280- float(INF)
281- ["E no ."]=>
282- float(4000000000000)
283- ["zero"]=>
284- int(0)
285- ["one"]=>
286- int(1)
287- ["space"]=>
288- string(1) " "
289- ["quote"]=>
290- string(1) """
291- ["backslash"]=>
292- string(1) "\"
293- ["controls"]=>
294- string(5) "
295-
"
296- ["slash"]=>
297- string(5) "/ & /"
298- ["alpha"]=>
299- string(25) "abcdefghijklmnopqrstuvwyz"
300- ["ALPHA"]=>
301- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
302- ["digit"]=>
303- string(10) "0123456789"
304- ["special"]=>
305- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
306- ["hex"]=>
307- string(17) "ģ䕧覫췯ꯍ"
308- ["unicode"]=>
309- string(18) "プレスキット"
310- ["プレスキット"]=>
311- string(18) "プレスキット"
312- ["empty_string"]=>
313- string(0) ""
314- ["true"]=>
315- bool(true)
316- ["false"]=>
317- bool(false)
318- ["null"]=>
319- NULL
320- ["array"]=>
321- array(0) {
322- }
323- ["object"]=>
324- array(0) {
325- }
326- [123]=>
327- array(1) {
328- [456]=>
329- array(1) {
330- ["abc"]=>
331- array(3) {
332- [789]=>
333- string(3) "def"
334- ["012"]=>
335- array(4) {
336- [0]=>
337- int(1)
338- [1]=>
339- int(2)
340- [2]=>
341- string(1) "5"
342- [3]=>
343- int(500)
344- }
345- ["ghi"]=>
346- array(5) {
347- [0]=>
348- int(1)
349- [1]=>
350- int(2)
351- [2]=>
352- string(4) "five"
353- [3]=>
354- int(50)
355- [4]=>
356- string(5) "sixty"
357- }
358- }
359- }
360- }
361- ["address"]=>
362- string(19) "50 St. James Street"
363- ["url"]=>
364- string(20) "http://www.JSON.org/"
365- ["comment"]=>
366- string(13) "// /* <!-- --"
367- ["# -- --> */"]=>
368- string(1) " "
369- [" s p a c e d "]=>
370- array(7) {
371- [0]=>
372- int(1)
373- [1]=>
374- int(2)
375- [2]=>
376- int(3)
377- [3]=>
378- int(4)
379- [4]=>
380- int(5)
381- [5]=>
382- int(6)
383- [6]=>
384- int(7)
385- }
386- ["compact"]=>
387- array(7) {
388- [0]=>
389- int(1)
390- [1]=>
391- int(2)
392- [2]=>
393- int(3)
394- [3]=>
395- int(4)
396- [4]=>
397- int(5)
398- [5]=>
399- int(6)
400- [6]=>
401- int(7)
402- }
403- ["jsontext"]=>
404- string(49) "{"object with 1 member":["array with 1 element"]}"
405- ["quotes"]=>
406- string(27) "&#34; " %22 0x22 034 &#x22;"
407- ["/\"쫾몾ꮘﳞ볚
408-
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
409- string(23) "A key can be any string"
410- }
411- [9]=>
412- float(0.5)
413- [10]=>
414- float(98.6)
415- [11]=>
416- float(99.44)
417- [12]=>
418- int(1066)
419- [13]=>
420- string(7) "rosebud"
421- }
422- ENCODE: FROM OBJECT
423- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":{},"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
424- ENCODE: FROM ARRAY
425- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":[],"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
426- DECODE AGAIN: AS OBJECT
427- array(14) {
428- [0]=>
429- string(23) "JSON Test Pattern pass1"
430- [1]=>
431- object(stdClass)#%d (1) {
432- ["object with 1 member"]=>
433- array(1) {
434- [0]=>
435- string(20) "array with 1 element"
436- }
437- }
438- [2]=>
439- object(stdClass)#%d (0) {
440- }
441- [3]=>
442- array(0) {
443- }
444- [4]=>
445- int(-42)
446- [5]=>
447- bool(true)
448- [6]=>
449- bool(false)
450- [7]=>
451- NULL
452- [8]=>
453- object(stdClass)#%d (36) {
454- ["integer"]=>
455- int(1234567890)
456- ["real"]=>
457- float(-9876.54321)
458- ["e"]=>
459- float(1.23456789E-13)
460- ["E"]=>
461- float(1.23456789E+34)
462- ["_empty_"]=>
463- int(0)
464- ["E no ."]=>
465- int(4000000000000)
466- ["zero"]=>
467- int(0)
468- ["one"]=>
469- int(1)
470- ["space"]=>
471- string(1) " "
472- ["quote"]=>
473- string(1) """
474- ["backslash"]=>
475- string(1) "\"
476- ["controls"]=>
477- string(5) "
478-
"
479- ["slash"]=>
480- string(5) "/ & /"
481- ["alpha"]=>
482- string(25) "abcdefghijklmnopqrstuvwyz"
483- ["ALPHA"]=>
484- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
485- ["digit"]=>
486- string(10) "0123456789"
487- ["special"]=>
488- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
489- ["hex"]=>
490- string(17) "ģ䕧覫췯ꯍ"
491- ["unicode"]=>
492- string(18) "プレスキット"
493- ["プレスキット"]=>
494- string(18) "プレスキット"
495- ["empty_string"]=>
496- string(0) ""
497- ["true"]=>
498- bool(true)
499- ["false"]=>
500- bool(false)
501- ["null"]=>
502- NULL
503- ["array"]=>
504- array(0) {
505- }
506- ["object"]=>
507- object(stdClass)#%d (0) {
508- }
509- ["123"]=>
510- object(stdClass)#%d (1) {
511- ["456"]=>
512- object(stdClass)#%d (1) {
513- ["abc"]=>
514- object(stdClass)#%d (3) {
515- ["789"]=>
516- string(3) "def"
517- ["012"]=>
518- array(4) {
519- [0]=>
520- int(1)
521- [1]=>
522- int(2)
523- [2]=>
524- string(1) "5"
525- [3]=>
526- int(500)
527- }
528- ["ghi"]=>
529- array(5) {
530- [0]=>
531- int(1)
532- [1]=>
533- int(2)
534- [2]=>
535- string(4) "five"
536- [3]=>
537- int(50)
538- [4]=>
539- string(5) "sixty"
540- }
541- }
542- }
543- }
544- ["address"]=>
545- string(19) "50 St. James Street"
546- ["url"]=>
547- string(20) "http://www.JSON.org/"
548- ["comment"]=>
549- string(13) "// /* <!-- --"
550- ["# -- --> */"]=>
551- string(1) " "
552- [" s p a c e d "]=>
553- array(7) {
554- [0]=>
555- int(1)
556- [1]=>
557- int(2)
558- [2]=>
559- int(3)
560- [3]=>
561- int(4)
562- [4]=>
563- int(5)
564- [5]=>
565- int(6)
566- [6]=>
567- int(7)
568- }
569- ["compact"]=>
570- array(7) {
571- [0]=>
572- int(1)
573- [1]=>
574- int(2)
575- [2]=>
576- int(3)
577- [3]=>
578- int(4)
579- [4]=>
580- int(5)
581- [5]=>
582- int(6)
583- [6]=>
584- int(7)
585- }
586- ["jsontext"]=>
587- string(49) "{"object with 1 member":["array with 1 element"]}"
588- ["quotes"]=>
589- string(27) "&#34; " %22 0x22 034 &#x22;"
590- ["/\"쫾몾ꮘﳞ볚
591-
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
592- string(23) "A key can be any string"
593- }
594- [9]=>
595- float(0.5)
596- [10]=>
597- float(98.6)
598- [11]=>
599- float(99.44)
600- [12]=>
601- int(1066)
602- [13]=>
603- string(7) "rosebud"
604- }
605- DECODE AGAIN: AS ARRAY
606- array(14) {
607- [0]=>
608- string(23) "JSON Test Pattern pass1"
609- [1]=>
610- array(1) {
611- ["object with 1 member"]=>
612- array(1) {
613- [0]=>
614- string(20) "array with 1 element"
615- }
616- }
617- [2]=>
618- array(0) {
619- }
620- [3]=>
621- array(0) {
622- }
623- [4]=>
624- int(-42)
625- [5]=>
626- bool(true)
627- [6]=>
628- bool(false)
629- [7]=>
630- NULL
631- [8]=>
632- array(36) {
633- ["integer"]=>
634- int(1234567890)
635- ["real"]=>
636- float(-9876.54321)
637- ["e"]=>
638- float(1.23456789E-13)
639- ["E"]=>
640- float(1.23456789E+34)
641- [""]=>
642- int(0)
643- ["E no ."]=>
644- int(4000000000000)
645- ["zero"]=>
646- int(0)
647- ["one"]=>
648- int(1)
649- ["space"]=>
650- string(1) " "
651- ["quote"]=>
652- string(1) """
653- ["backslash"]=>
654- string(1) "\"
655- ["controls"]=>
656- string(5) "
657-
"
658- ["slash"]=>
659- string(5) "/ & /"
660- ["alpha"]=>
661- string(25) "abcdefghijklmnopqrstuvwyz"
662- ["ALPHA"]=>
663- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
664- ["digit"]=>
665- string(10) "0123456789"
666- ["special"]=>
667- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
668- ["hex"]=>
669- string(17) "ģ䕧覫췯ꯍ"
670- ["unicode"]=>
671- string(18) "プレスキット"
672- ["プレスキット"]=>
673- string(18) "プレスキット"
674- ["empty_string"]=>
675- string(0) ""
676- ["true"]=>
677- bool(true)
678- ["false"]=>
679- bool(false)
680- ["null"]=>
681- NULL
682- ["array"]=>
683- array(0) {
684- }
685- ["object"]=>
686- array(0) {
687- }
688- [123]=>
689- array(1) {
690- [456]=>
691- array(1) {
692- ["abc"]=>
693- array(3) {
694- [789]=>
695- string(3) "def"
696- ["012"]=>
697- array(4) {
698- [0]=>
699- int(1)
700- [1]=>
701- int(2)
702- [2]=>
703- string(1) "5"
704- [3]=>
705- int(500)
706- }
707- ["ghi"]=>
708- array(5) {
709- [0]=>
710- int(1)
711- [1]=>
712- int(2)
713- [2]=>
714- string(4) "five"
715- [3]=>
716- int(50)
717- [4]=>
718- string(5) "sixty"
719- }
720- }
721- }
722- }
723- ["address"]=>
724- string(19) "50 St. James Street"
725- ["url"]=>
726- string(20) "http://www.JSON.org/"
727- ["comment"]=>
728- string(13) "// /* <!-- --"
729- ["# -- --> */"]=>
730- string(1) " "
731- [" s p a c e d "]=>
732- array(7) {
733- [0]=>
734- int(1)
735- [1]=>
736- int(2)
737- [2]=>
738- int(3)
739- [3]=>
740- int(4)
741- [4]=>
742- int(5)
743- [5]=>
744- int(6)
745- [6]=>
746- int(7)
747- }
748- ["compact"]=>
749- array(7) {
750- [0]=>
751- int(1)
752- [1]=>
753- int(2)
754- [2]=>
755- int(3)
756- [3]=>
757- int(4)
758- [4]=>
759- int(5)
760- [5]=>
761- int(6)
762- [6]=>
763- int(7)
764- }
765- ["jsontext"]=>
766- string(49) "{"object with 1 member":["array with 1 element"]}"
767- ["quotes"]=>
768- string(27) "&#34; " %22 0x22 034 &#x22;"
769- ["/\"쫾몾ꮘﳞ볚
770-
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
771- string(23) "A key can be any string"
772- }
773- [9]=>
774- float(0.5)
775- [10]=>
776- float(98.6)
777- [11]=>
778- float(99.44)
779- [12]=>
780- int(1066)
781- [13]=>
782- string(7) "rosebud"
783- }