History log of /PHP-8.0/ext/json/json.c (Results 26 – 50 of 201)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0d0f7cde 16-Jul-2017 Jakub Zelenka

Add JSON_INVALID_UTF8_SUBSTITUTE and JSON_INVALID_UTF8_IGNORE

It implements request #65082 and adds options for replacing resp.
ignoring invalid UTF-8 sequences for json_encode and json_

Add JSON_INVALID_UTF8_SUBSTITUTE and JSON_INVALID_UTF8_IGNORE

It implements request #65082 and adds options for replacing resp.
ignoring invalid UTF-8 sequences for json_encode and json_decode.

show more ...


Revision tags: php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2
# 9c2a1f52 19-Jun-2017 Dmitry Stogov

Avoid useless dereferences and separations during paramter passing.


Revision tags: php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1
# aa2282df 17-Mar-2017 Sara Golemon

Allow JSON_OBJECT_AS_ARRAY option to actually have meaning

Options can only be passed if $assoc is passed, but passing
assoc clobbers any attempt to pass JSON_OBJECT_AS_ARRAY as an
o

Allow JSON_OBJECT_AS_ARRAY option to actually have meaning

Options can only be passed if $assoc is passed, but passing
assoc clobbers any attempt to pass JSON_OBJECT_AS_ARRAY as an
option.

Allow the option to occur in the options field by handling
"null" as default/use-options.

show more ...


Revision tags: php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 6007eb75 31-Dec-2016 Sara Golemon

Use new param API in json


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1
# 5e9b4c26 21-Nov-2016 Anatol Belski

remove TSRMLS_*


# 60574ea1 20-Nov-2016 Jakub Zelenka

Fix bug #73526 (php_json_encode depth issue)


Revision tags: php-7.1.0RC6, php-5.6.28, php-7.0.13
# c34de0b6 30-Oct-2016 Jakub Zelenka

Introduce json encoder to fix globals related issues

It fixes bugs #66025 and #73254 by replacing globals with
a passed structure holding depth and error code. In addition
it fixes #

Introduce json encoder to fix globals related issues

It fixes bugs #66025 and #73254 by replacing globals with
a passed structure holding depth and error code. In addition
it fixes #72069 in a more generic way.

show more ...


Revision tags: php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1
# 1ed4b13f 19-Sep-2016 Julien Pauli

Do not wrap user exception in case of custom JSON serialization


# b41abf74 19-Sep-2016 Julien Pauli

Fix 73113 - Segfault with throwing JsonSerializable


Revision tags: php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1
# 12a8c3f6 24-Aug-2016 Jakub Zelenka

Add initial failure checking for json_encode


Revision tags: php-7.1.0beta3, php-5.6.25, php-7.0.10
# 9f1d962e 14-Aug-2016 Jakub Zelenka

Fixed bug #72787 (json_decode reads out of bounds)


Revision tags: php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1
# bea131f0 28-Jun-2016 Jakub Zelenka

Add return code from json API functions

It will allow fix few json bugs in a better way


# 3f13507d 26-Jun-2016 Jakub Zelenka

Use one place to define max length of double

Introduce new constant PHP_DOUBLE_MAX_LENGTH for that purpose


# 75b86a2c 23-Jun-2016 Jakub Zelenka

Replace json.precision with serialize_precision


Revision tags: php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7, php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1, php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2, php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28
# 3aa2aadc 05-Aug-2015 Yasuo Ohgaki

Add JSON_G(precision)


# 589d0e0f 23-Apr-2016 Xinchen Hui

Fixed bug #72069 (Behavior \JsonSerializable different from json_encode)


# 1ac15293 03-Mar-2016 Nikita Popov

Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE

Also re bug #71575.


# 104876dd 29-Dec-2015 Eddie Kohler

json_encode: Escape U+2028 and U+2029 more often.

These characters are illegal in Javascript, so leaving them unescaped
is risky. The default encoder ($flags = 0) is fine, but the encode

json_encode: Escape U+2028 and U+2029 more often.

These characters are illegal in Javascript, so leaving them unescaped
is risky. The default encoder ($flags = 0) is fine, but the encoder
with JSON_UNESCAPED_UNICODE flag is not.

In case anyone wants the ability to leave these characters unescaped,
provide JSON_UNESCAPED_LINE_TERMINATORS.

show more ...


# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)


# 539db005 04-Sep-2015 Jakub Zelenka

Simplify JSON constants registration


# 6e557480 04-Sep-2015 Jakub Zelenka

Add my name to authors for previous refactoring

Related to jsond changes


# 26e619b1 03-Sep-2015 Joe Watkins

these need to be exported for extensions that use json


123456789