From: foobar Date: Thu, 22 May 2003 23:59:37 +0000 (+0000) Subject: added another test case (due to the problems we saw with 4.3.2RC4) X-Git-Tag: RELEASE_1_0_2~627 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a747e1b7682147e17b06341fbf65da530f8e945a;p=php added another test case (due to the problems we saw with 4.3.2RC4) --- diff --git a/ext/standard/tests/serialize/004.phpt b/ext/standard/tests/serialize/004.phpt new file mode 100644 index 0000000000..a4a7c68d6f --- /dev/null +++ b/ext/standard/tests/serialize/004.phpt @@ -0,0 +1,33 @@ +--TEST-- +serialize()/unserialize() floats in array. +--INI-- +precision=12 +serialize_precision=100 +--FILE-- + +--EXPECT-- +Serialized array: a:1:{i:0;i:4;} +Unserialized array: array(1) { + [0]=> + int(4) +} + +Serialized array: a:1:{i:0;d:4.5;} +Unserialized array: array(1) { + [0]=> + float(4.5) +}