com php-src: Change default for serialize_precision to - 1 (use mode 0): php.ini-development php .ini-production

From: Date: Sun, 26 Jun 2016 12:41:22 +0000
Subject: com php-src: Change default for serialize_precision to - 1 (use mode 0): php.ini-development php .ini-production
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92661@lists.php.net to get a copy of this message
Commit: 158b537c99ca5fc7846e7d16d532644be95894a7 Author: Jakub Zelenka <bukka@php.net> Sun, 26 Jun 2016 13:41:22 +0100 Parents: 71774c241e289e6c7a4159fe53cc832742deaa3d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=158b537c99ca5fc7846e7d16d532644be95894a7 Log: Change default for serialize_precision to -1 (use mode 0) Changed paths: M php.ini-development M php.ini-production Diff: diff --git a/php.ini-development b/php.ini-development index 604efc4..39cc140 100644 --- a/php.ini-development +++ b/php.ini-development @@ -285,7 +285,10 @@ 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 = 17 +; The value is also used for json_encode when encoding double values. +; If -1 is used, then dtoa mode 0 is used which automatically select the best +; precision. +serialize_precision = -1 ; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory diff --git a/php.ini-production b/php.ini-production index f2723f6..05be1eb 100644 --- a/php.ini-production +++ b/php.ini-production @@ -285,7 +285,10 @@ 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 = 17 +; The value is also used for json_encode when encoding double values. +; If -1 is used, then dtoa mode 0 is used which automatically select the best +; precision. +serialize_precision = -1 ; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory

« previous php.cvs (#92661) next »