@@ -147,6 +147,10 @@ apply to following calls.
147
147
When set to ` false ` , generation of all extra whitespace is disabled and all
148
148
other settings that affect whitespace are ignored.
149
149
150
+ * ** hex.capitalize** : < ; boolean> ; (false)<br >
151
+ When set to ` true ` all hexadecimal characters in the output are written
152
+ using upper case instead of lower case.
153
+
150
154
* ** null.capitalize** : < ; boolean> ; (false)<br >
151
155
When set to ` true ` , all ` null ` values are written in upper case instead of
152
156
lower case.
@@ -155,25 +159,45 @@ apply to following calls.
155
159
When set to ` true ` , all ` true ` and ` false ` values are written in upper case
156
160
instead of lower case.
157
161
162
+ * ** integer.type** : < ; "binary"|"octal"|"decimal"|"hexadecimal"> ; ("decimal")<br >
163
+ Change the output syntax of integers. For example, using the type ` "hexadecimal" `
164
+ would output the number ` 15 ` as ` 0xf ` .
165
+
158
166
* ** float.integers** : < ; boolean|"all"> ; (false)<br >
159
167
When set to ` true ` , any float that represents an integer and has a value
160
168
that is accurately represented by the floating point number will be encoded
161
169
as an integer instead of a float. (e.g. the value ` 2.0 ` will be encoded as
162
170
` 2 ` ). To include the values that are not accurately represented, you may set
163
171
option to ` "all" ` .
164
172
173
+ * ** float.export** : < ; boolean> ; (false)<br >
174
+ When set to ` true ` floats are encoded using ` var_export() ` , which causes a
175
+ slightly different output on non integer floating point numbers compared to
176
+ the standard implemented method. In some cases, this may produce more
177
+ accurate numbers but with less cleaner representation.
178
+
165
179
* ** float.precision** : < ; integer|false> ; (17)<br >
166
180
The maximum precision of encoded floating point values, which usually also
167
181
means the maximum number of digits in encoded floats. If the value is set to
168
182
` false ` , the PHP ini setting ` serialize_precision ` will be used instead.
169
183
Note that due to the way floating point values work, a value greater than 17
170
184
does not provide any additional precision.
171
185
186
+ * ** string.binary** : < ; boolean> ; (false)<br >
187
+ When set to ` true ` any string that is not valid UTF-8 will be encoded in
188
+ base 64 and wrapped with ` base64_decode() ` call.
189
+
172
190
* ** string.escape** : < ; boolean> ; (true)<br >
173
191
When set to ` true ` , all strings containing bytes outside the 32-126 ASCII
174
192
range will be written with double quotes and the characters outside the
175
193
range will be escaped.
176
194
195
+ * ** string.utf8** : < ; boolean> ; (false)<br >
196
+ When both this option and ` string.escape ` are set to ` true ` , all valid
197
+ multibyte UTF-8 characters in strings are encoded using the PHP7 unicode
198
+ code point syntax. Note that this syntax does not work in PHP versions
199
+ earlier than 7.0.
200
+
177
201
* ** array.short** : < ; boolean> ; (true)<br >
178
202
When set to ` true ` , arrays are enclosed using square brackets ` [] ` instead
179
203
using of the long array notation ` array() ` .
0 commit comments