History log of /PHP-7.4/ext/json/json.c (Results 26 – 50 of 186)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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


Revision tags: php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 64c37114 28-Jun-2015 Jakub Zelenka

Fix bug #62010 (json_decode produces invalid byte-sequences)


Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2
# f3df3df8 21-Jun-2015 Jakub Zelenka

Fix bug #68546 (json_decode cannot access property started with \0)


Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40, php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39, php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 591dbcab 22-Feb-2015 Jakub Zelenka

Fix bug #64695 (JSON_NUMERIC_CHECK has issues with strings that are numbers plus the letter e)


Revision tags: php-5.6.6, php-5.5.22, php-5.4.38
# af3ca745 16-Feb-2015 Anatol Belski

made ZEND_TSRMLS_CACHE_* macros look like function calls

which also comply with the current semantics for such macros


Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS
# ef2fd13d 09-Feb-2015 Anatol Belski

fix datatype mismatches


Revision tags: php-5.6.6RC1, php-5.5.22RC1
# c85f12e3 04-Feb-2015 Julien Pauli

Revert "json_decode() should generate a syntax error when given ""."

This reverts commit a7b3abe4e6f5e2fdfd8d55b676c9ca6b3f9c8cc8.


# 2428fd1c 04-Feb-2015 Dmitry Stogov

Use object pointers instead of handles


# a7b3abe4 02-Feb-2015 Adam Harvey

json_decode() should generate a syntax error when given "".

Fixes bug #68938 (json_decode() decodes empty string without error).
Patch by jeremy at bat-country dot us.


Revision tags: php-5.5.21, php-5.6.5, php-5.4.37, php-5.5.21RC1, php-5.6.5RC1, POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4, php-5.6.4RC1, php-5.5.20RC1, php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1, php-5.5.18, php-5.4.34, php-5.5.18RC1, php-5.6.1, php-5.6.2, php-5.4.33, php-5.5.17, php-5.6.1RC1, php-5.5.17RC1, php-5.4.33RC1, php-5.6.0, POST_AST_MERGE, PRE_AST_MERGE, POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32, POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29, php-5.5.16RC1, php-5.4.32RC1, php-5.3.29RC1, php-5.6.0RC3, php-5.5.15, php-5.4.31, php-5.4.31RC1, php-5.5.15RC1, php-5.6.0RC2, php-5.4.30, php-5.5.14, php-5.6.0RC1, php-5.5.14RC1, php-5.4.30RC1, php-5.6.0beta4, php-5.4.29, php-5.5.13, php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2, php-5.5.12, php-5.4.28, php-5.4.28RC1, php-5.5.12RC1, php-5.6.0beta1, php-5.4.27, php-5.5.11
# ac7cfad3 29-Mar-2014 Juan Basso

Fixed bug #50224 where float without decimals were converted to integer


# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


# 95cef47a 13-Jan-2015 Juan Basso

Porting implementation of RFC json_preserve_fractional_part


# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


12345678