Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ae7250f

Browse files
Update README.md
1 parent 7683ece commit ae7250f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎README.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,9 @@ The above example will set JSON options to 128+256+64 = 448, as per the table of
11661166
JSON_HEX_QUOT (8)
11671167
All " are converted to \u0022.
11681168
JSON_FORCE_OBJECT (16)
1169-
Outputs an object rather than an array when a non-associative array is used. Especially useful when the recipient of the output is expecting an object and the array is empty.
1169+
Outputs an object rather than an array when a non-associative array is used.
1170+
Especially useful when the recipient of the output is expecting an object and
1171+
the array is empty.
11701172
JSON_NUMERIC_CHECK (32)
11711173
Encodes numeric strings as numbers.
11721174
JSON_UNESCAPED_SLASHES (64)
@@ -1180,7 +1182,9 @@ The above example will set JSON options to 128+256+64 = 448, as per the table of
11801182
JSON_PRESERVE_ZERO_FRACTION (1024)
11811183
Ensures that float values are always encoded as a float value.
11821184
JSON_UNESCAPED_LINE_TERMINATORS (2048)
1183-
The line terminators are kept unescaped when JSON_UNESCAPED_UNICODE is supplied. It uses the same behaviour as it was before PHP 7.1 without this constant. Available as of PHP 7.1.0.
1185+
The line terminators are kept unescaped when JSON_UNESCAPED_UNICODE is supplied.
1186+
It uses the same behaviour as it was before PHP 7.1 without this constant.
1187+
Available as of PHP 7.1.0.
11841188

11851189
Source: [PHP's JSON constants documentation](https://www.php.net/manual/en/json.constants.php)
11861190

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /