#
9e29f841 |
| 02-Jan-2017 |
Sammy Kaye Powers |
Update copyright headers to 2017
|
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 |
|
#
8113daef |
| 19-Nov-2016 |
Nikita Popov |
json_encode(): Detect recursion earlier json_encode() used a peculiar way of apply-count management, whereby the apply-count was not incremented for the outermost object/array, so th
json_encode(): Detect recursion earlier json_encode() used a peculiar way of apply-count management, whereby the apply-count was not incremented for the outermost object/array, so that recursion was only detected after two levels.
show more ...
|
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 |
|
#
9ded1b4e |
| 19-Oct-2016 |
Dmitry Stogov |
Introduced HT_IS_PACKED() and HT_IS_WITHOUT_HOLES() macros. (Benjamin Coutu)
|
Revision tags: php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1 |
|
#
df05dbb3 |
| 28-Aug-2016 |
Jakub Zelenka |
Fix recursion and protection in the failed JSON encoding
|
#
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, 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 |
|
#
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 |
|
#
5f5dc04f |
| 31-Aug-2015 |
Yasuo Ohgaki |
Add cast
|
#
e3d9f1f4 |
| 30-Aug-2015 |
Yasuo Ohgaki |
Simply use ndigit for flag for zend_dtoa mode
|
Revision tags: 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)
|
Revision tags: php-7.0.0beta3, php-5.4.44 |
|
#
f943daf2 |
| 04-Aug-2015 |
Yasuo Ohgaki |
Initial patch for 0 mode float conversion. The magic number is better to be improved. Any suggestion where to define it?
|
#
f0d1cca6 |
| 29-May-2016 |
Jakub Zelenka |
Use empty keys instead of _empty_ in json decoding
|
#
197470b6 |
| 06-May-2016 |
Xinchen Hui |
Revert "Fixed bug #72170 (JsonSerializable may inc apply count without dec it)" This reverts commit 459a7cc209da130256d66c1f896199540f4dadbc.
|
#
459a7cc2 |
| 06-May-2016 |
Xinchen Hui |
Fixed bug #72170 (JsonSerializable may inc apply count without dec it) I don't want use zend_try here, but seems I have no choice :<
|
#
589d0e0f |
| 23-Apr-2016 |
Xinchen Hui |
Fixed bug #72069 (Behavior \JsonSerializable different from json_encode)
|
#
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 ...
|
#
2eb1f38d |
| 01-Jan-2016 |
Lior Kaplan |
Happy new year (Update copyright to 2016)
|
Revision tags: php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43 |
|
#
4a2e40bb |
| 30-Jun-2015 |
Dmitry Stogov |
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
|
Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, 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 |
|
#
9f0dbdf6 |
| 06-May-2015 |
Xinchen Hui |
Use Z_ARRVAL_P since we already know it's an array
|
Revision tags: 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 |
|
#
fe36285d |
| 25-Mar-2015 |
Anatol Belski |
fix datatype mismatches
|
Revision tags: php-5.6.7, php-5.5.23, php-5.4.39 |
|
#
d68861eb |
| 11-Mar-2015 |
Dmitry Stogov |
Improved php_json_escape_string()
|
Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS, php-5.6.6, php-5.5.22, php-5.4.38, POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS |
|
#
09a3e737 |
| 09-Feb-2015 |
Michael Wallner |
fix json globals
|
#
fc5b3497 |
| 09-Feb-2015 |
Anatol Belski |
size_t vs int
|
Revision tags: php-5.6.6RC1, php-5.5.22RC1 |
|
#
20bae2a5 |
| 02-Feb-2015 |
Jakub Zelenka |
Give me credit
|