From 6dfee4f87751d4d80bbb2b63b8a2a8de5a359fd1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gustavo=20Andr=C3=A9=20dos=20Santos=20Lopes?= Date: Tue, 8 Feb 2011 21:40:51 +0000 Subject: [PATCH] - Changed default serialize_precision from 100 to 17, as discussed in internals. --- NEWS | 2 + ext/standard/tests/serialize/precision.phpt | 49 +++++++++++++++++++++ main/main.c | 2 +- 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 ext/standard/tests/serialize/precision.phpt diff --git a/NEWS b/NEWS index 7f2fe9dc82..4f7331246f 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,8 @@ - Core: . Added ability to connect to HTTPS sites through proxy with basic authentication using stream_context/http/header/Proxy-Authorization (Dmitry) + . Changed default value of ini directive serialize_precision from 100 to 17. + (Gustavo) . Fixed bug #53959 (reflection data for fgetcsv out-of-date). (Richard) . Fixed bug #53577 (Regression introduced in 5.3.4 in open_basedir with a trailing forward slash). (lekensteyn at gmail dot com, Pierre) diff --git a/ext/standard/tests/serialize/precision.phpt b/ext/standard/tests/serialize/precision.phpt new file mode 100644 index 0000000000..142b2cecf8 --- /dev/null +++ b/ext/standard/tests/serialize/precision.phpt @@ -0,0 +1,49 @@ +--TEST-- +Default precision is sufficient to serialize all the information in floats +--SKIPIF-- +