summaryrefslogtreecommitdiff
path: root/php.ini-recommended
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-05-08 01:23:21 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-05-08 01:23:21 +0000
commitb20df54af7e3cbb016379b42be1f22d8b7ddbf9d (patch)
tree13c2f72ee80122292e0e00b27111dd461e268476 /php.ini-recommended
parent7a0efe828afde3d13f1deb8e1dc12ca2e1be12d6 (diff)
downloadphp-git-b20df54af7e3cbb016379b42be1f22d8b7ddbf9d.tar.gz
Make serialize precision a configurable option.
Diffstat (limited to 'php.ini-recommended')
-rw-r--r--php.ini-recommended5
1 files changed, 5 insertions, 0 deletions
diff --git a/php.ini-recommended b/php.ini-recommended
index 9e5650fcc4..5ebd39494b 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -150,6 +150,11 @@ implicit_flush = Off
; callback-function.
unserialize_callback_func=
+; When floats & doubles are serialized store serialize_precision significant
+; digits after the floating point. The default value ensures that when floats
+; are decoded with unserialize, the data will remain the same.
+serialize_precision = 100
+
; Whether to enable the ability to force arguments to be passed by reference
; at function call time. This method is deprecated and is likely to be
; unsupported in future versions of PHP/Zend. The encouraged method of