summaryrefslogtreecommitdiff
path: root/php.ini-dist
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-dist
parent7a0efe828afde3d13f1deb8e1dc12ca2e1be12d6 (diff)
downloadphp-git-b20df54af7e3cbb016379b42be1f22d8b7ddbf9d.tar.gz
Make serialize precision a configurable option.
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist
index de61d45ed1..994dc0e956 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -137,6 +137,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