tony2001 Fri Apr 20 10:15:05 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/json/tests pass001.1.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/json/tests/pass001.1.phpt?r1=1.3.2.1&r2=1.3.2.2&diff_format=u
Index: php-src/ext/json/tests/pass001.1.phpt
diff -u php-src/ext/json/tests/pass001.1.phpt:1.3.2.1
php-src/ext/json/tests/pass001.1.phpt:1.3.2.2
--- php-src/ext/json/tests/pass001.1.phpt:1.3.2.1 Mon Aug 7 23:28:05 2006
+++ php-src/ext/json/tests/pass001.1.phpt Fri Apr 20 10:15:04 2007
@@ -170,7 +170,7 @@
[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 @@
}
}
[2]=>
- object(stdClass)#2 (0) {
+ object(stdClass)#%d (0) {
}
[3]=>
array(0) {
@@ -192,7 +192,7 @@
[7]=>
NULL
[8]=>
- object(stdClass)#3 (36) {
+ object(stdClass)#%d (36) {
["integer"]=>
int(1234567890)
["real"]=>
@@ -204,7 +204,7 @@
["_empty_"]=>
float(INF)
["E no ."]=>
- float(4.0E+12)
+ float(4000000000000)
["zero"]=>
int(0)
["one"]=>
@@ -246,14 +246,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"]=>
@@ -383,7 +383,7 @@
["_empty_"]=>
float(INF)
["E no ."]=>
- float(4.0E+12)
+ float(4000000000000)
["zero"]=>
int(0)
["one"]=>
@@ -532,7 +532,7 @@
[0]=>
string(23) "JSON Test Pattern pass1"
[1]=>
- object(stdClass)#8 (1) {
+ object(stdClass)#%d (1) {
["object with 1 member"]=>
array(1) {
[0]=>
@@ -540,7 +540,7 @@
}
}
[2]=>
- object(stdClass)#9 (0) {
+ object(stdClass)#%d (0) {
}
[3]=>
array(0) {
@@ -554,7 +554,7 @@
[7]=>
NULL
[8]=>
- object(stdClass)#10 (36) {
+ object(stdClass)#%d (36) {
["integer"]=>
int(1234567890)
["real"]=>
@@ -566,7 +566,7 @@
["_empty_"]=>
int(0)
["E no ."]=>
- float(4.0E+12)
+ float(4000000000000)
["zero"]=>
int(0)
["one"]=>
@@ -608,14 +608,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"]=>
@@ -745,7 +745,7 @@
["_empty_"]=>
int(0)
["E no ."]=>
- float(4.0E+12)
+ float(4000000000000)
["zero"]=>
int(0)
["one"]=>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php