]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Fri, 20 Apr 2007 10:15:04 +0000 (10:15 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 20 Apr 2007 10:15:04 +0000 (10:15 +0000)
ext/json/tests/pass001.1.phpt

index 87766e912cd038ecea3b0f7ade651062145d4b47..003ffc95534886298ce601b2b4316e4f9dc6280d 100644 (file)
@@ -170,7 +170,7 @@ array(14) {
   [0]=>
   string(23) "JSON Test Pattern pass1"
   [1]=>
-  object(stdClass)#1 (1) {
+  object(stdClass)#%d (1) {
     ["object with 1 member"]=>
     array(1) {
       [0]=>
@@ -178,7 +178,7 @@ array(14) {
     }
   }
   [2]=>
-  object(stdClass)#2 (0) {
+  object(stdClass)#%d (0) {
   }
   [3]=>
   array(0) {
@@ -192,7 +192,7 @@ array(14) {
   [7]=>
   NULL
   [8]=>
-  object(stdClass)#3 (36) {
+  object(stdClass)#%d (36) {
     ["integer"]=>
     int(1234567890)
     ["real"]=>
@@ -204,7 +204,7 @@ array(14) {
     ["_empty_"]=>
     float(INF)
     ["E no ."]=>
-    float(4.0E+12)
+    float(4000000000000)
     ["zero"]=>
     int(0)
     ["one"]=>
@@ -247,14 +247,14 @@ array(14) {
     array(0) {
     }
     ["object"]=>
-    object(stdClass)#4 (0) {
+    object(stdClass)#%d (0) {
     }
     ["123"]=>
-    object(stdClass)#5 (1) {
+    object(stdClass)#%d (1) {
       ["456"]=>
-      object(stdClass)#6 (1) {
+      object(stdClass)#%d (1) {
         ["abc"]=>
-        object(stdClass)#7 (3) {
+        object(stdClass)#%d (3) {
           ["789"]=>
           string(3) "def"
           ["012"]=>
@@ -385,7 +385,7 @@ array(14) {
     ["_empty_"]=>
     float(INF)
     ["E no ."]=>
-    float(4.0E+12)
+    float(4000000000000)
     ["zero"]=>
     int(0)
     ["one"]=>
@@ -536,7 +536,7 @@ array(14) {
   [0]=>
   string(23) "JSON Test Pattern pass1"
   [1]=>
-  object(stdClass)#8 (1) {
+  object(stdClass)#%d (1) {
     ["object with 1 member"]=>
     array(1) {
       [0]=>
@@ -544,7 +544,7 @@ array(14) {
     }
   }
   [2]=>
-  object(stdClass)#9 (0) {
+  object(stdClass)#%d (0) {
   }
   [3]=>
   array(0) {
@@ -558,7 +558,7 @@ array(14) {
   [7]=>
   NULL
   [8]=>
-  object(stdClass)#10 (36) {
+  object(stdClass)#%d (36) {
     ["integer"]=>
     int(1234567890)
     ["real"]=>
@@ -570,7 +570,7 @@ array(14) {
     ["_empty_"]=>
     int(0)
     ["E no ."]=>
-    float(4.0E+12)
+    float(4000000000000)
     ["zero"]=>
     int(0)
     ["one"]=>
@@ -613,14 +613,14 @@ array(14) {
     array(0) {
     }
     ["object"]=>
-    object(stdClass)#11 (0) {
+    object(stdClass)%d (0) {
     }
     ["123"]=>
-    object(stdClass)#12 (1) {
+    object(stdClass)%d (1) {
       ["456"]=>
-      object(stdClass)#13 (1) {
+      object(stdClass)%d (1) {
         ["abc"]=>
-        object(stdClass)#14 (3) {
+        object(stdClass)%d (3) {
           ["789"]=>
           string(3) "def"
           ["012"]=>
@@ -751,7 +751,7 @@ array(14) {
     ["_empty_"]=>
     int(0)
     ["E no ."]=>
-    float(4.0E+12)
+    float(4000000000000)
     ["zero"]=>
     int(0)
     ["one"]=>