From: Antony Dovgal Date: Wed, 21 Feb 2007 19:37:05 +0000 (+0000) Subject: add test X-Git-Tag: RELEASE_1_0_1~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f0a6b3f9c215f4bd71554a3a101bf30ae33b7b8;p=php add test --- diff --git a/ext/xmlrpc/tests/bug40576_64bit.phpt b/ext/xmlrpc/tests/bug40576_64bit.phpt new file mode 100644 index 0000000000..bb4cbe7843 --- /dev/null +++ b/ext/xmlrpc/tests/bug40576_64bit.phpt @@ -0,0 +1,77 @@ +--TEST-- +Bug #40576 (double values are truncated to 6 decimal digits when encoding) +--SKIPIF-- + +--INI-- +precision=12 +--FILE-- + +--EXPECTF-- +string(125) " + + + + 1.123456789 + + + +" +string(119) " + + + + -1066555326 + + + +" +string(116) " + + + + 11234567 + + + +" +string(106) " + + + + + + + +" +string(118) " + + + + test + + + +" +string(139) " + + + + 1.22222222222222222222222 + + + +" +Done