From: Antony Dovgal Date: Mon, 25 Dec 2006 14:27:44 +0000 (+0000) Subject: fix test X-Git-Tag: RELEASE_1_0_0RC1~518 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5ca775c025fb99479a8fc4729dde544001ed2d5;p=php fix test --- diff --git a/ext/standard/tests/general_functions/001.phpt b/ext/standard/tests/general_functions/001.phpt index 164bd7fb21..bfd82e55b0 100644 --- a/ext/standard/tests/general_functions/001.phpt +++ b/ext/standard/tests/general_functions/001.phpt @@ -61,7 +61,7 @@ sprintf octal binary test: passed sprintf float test: passed 99.00 99.00 -1.23400e-18 -1.23400e+18 -9.84324e+6 --9.84324e+6 +1.234000e-18 +1.234000e+18 +9.843243e+6 +-9.843243e+6 diff --git a/ext/standard/tests/strings/bug22207.phpt b/ext/standard/tests/strings/bug22207.phpt index 688bb5b744..c0ec4fdbc1 100644 --- a/ext/standard/tests/strings/bug22207.phpt +++ b/ext/standard/tests/strings/bug22207.phpt @@ -6,6 +6,10 @@ Bug #22207 (missing 0 when using the e notation in *printf functions) var_dump(sprintf("%10.5e\n", 1.1)); ?> --EXPECT-- -1.1000e+0 -string(11) " 1.1000e+0 +1.10000e+0 +string(11) "1.10000e+0 +" +--UEXPECT-- +1.10000e+0 +unicode(11) "1.10000e+0 "