From: Antony Dovgal Date: Wed, 21 Feb 2007 19:35:15 +0000 (+0000) Subject: add test for 64bit arch X-Git-Tag: php-5.2.2RC1~332 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d162a8fb9e60c4e8106ecdc5c0ca5800e51ace35;p=php add test for 64bit arch --- diff --git a/ext/xmlrpc/tests/bug40576_64bit.phpt b/ext/xmlrpc/tests/bug40576_64bit.phpt new file mode 100644 index 0000000000..826d87e1a8 --- /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(128) " + + + + -1066555326 + + + +" +string(116) " + + + + 11234567 + + + +" +string(106) " + + + + + + + +" +string(118) " + + + + test + + + +" +string(139) " + + + + 1.22222222222222222222222 + + + +" +Done