summaryrefslogtreecommitdiff
path: root/php.ini-development
diff options
context:
space:
mode:
Diffstat (limited to 'php.ini-development')
-rw-r--r--php.ini-development7
1 files changed, 7 insertions, 0 deletions
diff --git a/php.ini-development b/php.ini-development
index 88b7a0b661..b81f1a04ca 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -284,6 +284,13 @@ implicit_flush = Off
; callback-function.
unserialize_callback_func =
+; The unserialize_max_depth specifies the default depth limit for unserialized
+; structures. Setting the depth limit too high may result in stack overflows
+; during unserialization. The unserialize_max_depth ini setting can be
+; overridden by the max_depth option on individual unserialize() calls.
+; A value of 0 disables the depth limit.
+;unserialize_max_depth = 4096
+
; 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.