#
84fe2cc8 |
| 23-Jun-2012 |
Nikita Popov |
Improve json_encode error handling json_encode() now returns bool(false) for all possible errors, throws the respective warning and also sets the respective json_last_error() error c
Improve json_encode error handling json_encode() now returns bool(false) for all possible errors, throws the respective warning and also sets the respective json_last_error() error code. Three new error codes have been added: * JSON_ERROR_RECURSION * JSON_ERROR_INF_OR_NAN * JSON_ERROR_UNSUPPORTED_TYPE To get a partial JSON output instead of bool(false) the option JSON_PARTIAL_OUTPUT_ON_ERROR can be specified. In this case the invalid segments will be replaced either by null (for recursion, unsupported type and invalid JSON) or 0 (for Inf and NaN). The warning for invalid UTF-8 stays intact and is thrown also with display_errors = On. If this behavior is undesired this can be remedied later.
show more ...
|
Revision tags: php-5.3.14, php-5.4.4, php-5.3.14RC2, php-5.4.4RC2, php-5.3.14RC1, php-5.4.4RC1 |
|
#
92bc49b2 |
| 09-May-2012 |
Felipe Pena |
- Fixed bug #61978 (Object recursion not detected for classes that implement JsonSerializable)
|
Revision tags: php-5.3.13, php-5.4.3, php-5.4.2, php-5.3.12 |
|
#
7bbd5521 |
| 02-May-2012 |
Stanislav Malyshev |
Revert "Fix bug #61537 (json_encode() incorrectly truncates/discards information) and" This reverts commit cb2a1c71c96d7c9b2ee03d77beae0c8e0d385f1b. The fix is not correct, not fixed aft
Revert "Fix bug #61537 (json_encode() incorrectly truncates/discards information) and" This reverts commit cb2a1c71c96d7c9b2ee03d77beae0c8e0d385f1b. The fix is not correct, not fixed after discussion on github. Please fix the issues and reapply the patch
show more ...
|
Revision tags: php-5.3.11, php-5.4.1, php-5.3.11RC2, php-5.4.1RC2 |
|
#
cb2a1c71 |
| 02-Apr-2012 |
Adam Harvey |
Fix bug #61537 (json_encode() incorrectly truncates/discards information) and remove a test case that's now mooted by this fix.
|
#
3f3ad30c |
| 02-Apr-2012 |
Adam Harvey |
Fix bug #61537 (json_encode() incorrectly truncates/discards information) and remove a test case that's now mooted by this fix.
|
Revision tags: php-5.3.11RC1, php-5.4.1RC1, PHP-5.4.1-RC1 |
|
#
76ef76d2 |
| 19-Mar-2012 |
Matt Nowack |
Adding Braces in json.c to conform with coding standards
|
Revision tags: php-5.4.0, php-5.4.0RC8, php-5.3.10, php-5.4.0RC7, php-5.4.0RC6, php-5.3.9, php-5.4.0RC5 |
|
#
e4ca0ed0 |
| 01-Jan-2012 |
Felipe Pena |
- Year++
|
#
8775a375 |
| 01-Jan-2012 |
Felipe Pena |
- Year++
|
#
4e198252 |
| 01-Jan-2012 |
Felipe Pena |
- Year++
|
Revision tags: php-5.3.9RC4, php-5.4.0RC4, php-5.3.9RC3, php-5.4.0RC3, php-5.3.9RC2, php-5.4.0RC2, php-5.4.0RC1, php-5.3.9RC1, php-5.4.0beta2 |
|
#
199b52c1 |
| 17-Oct-2011 |
Ilia Alshanetsky |
Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects with numeric string properties)
|
#
d4ae4e79 |
| 17-Oct-2011 |
Ilia Alshanetsky |
Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects with numeric string properties)
|
#
65732af7 |
| 17-Oct-2011 |
Ilia Alshanetsky |
Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects with numeric string properties)
|
Revision tags: php-5.4.0beta1, yaf-2.1.0 |
|
#
a1501cf1 |
| 29-Aug-2011 |
Gwynne Raskind |
Add unescaped Unicode encoding to json_encode(). Closes bug #53946. Patch by Irker and Gwynne.
|
#
06292974 |
| 29-Aug-2011 |
Gwynne Raskind |
Add unescaped Unicode encoding to json_encode(). Closes bug #53946. Patch by Irker and Gwynne.
|
Revision tags: php-5.3.8, php-5.3.7, php-5.3.7RC5 |
|
#
783b0532 |
| 06-Aug-2011 |
Felipe Pena |
- Added missing PHP_FE_END/ZEND_FE_END
|
#
9c289189 |
| 06-Aug-2011 |
Felipe Pena |
- Added missing PHP_FE_END/ZEND_FE_END
|
Revision tags: php-5.4.0alpha3, php-5.3.7RC4 |
|
#
23e43859 |
| 25-Jul-2011 |
Felipe Pena |
- Make usage of new PHP_FE_END macro
|
#
4b30846b |
| 25-Jul-2011 |
Felipe Pena |
- Make usage of new PHP_FE_END macro
|
#
da376383 |
| 25-Jul-2011 |
Felipe Pena |
- Make usage of new PHP_FE_END macro
|
Revision tags: php-5.3.7RC3, php-5.4.0alpha2, php-5.3.7RC2, php-5.4.0alpha1, php-5.3.7RC1 |
|
#
f4f2aa75 |
| 01-Jun-2011 |
Ilia Alshanetsky |
Fixed bug #54484 (Empty string in json_decode doesn't reset json_last_error()).
|
#
a7dfb315 |
| 01-Jun-2011 |
Ilia Alshanetsky |
Fixed bug #54484 (Empty string in json_decode doesn't reset json_last_error()).
|
#
850db4b3 |
| 01-Jun-2011 |
Ilia Alshanetsky |
Fixed bug #54484 (Empty string in json_decode doesn't reset json_last_error()).
|
#
e77bd31f |
| 30-Apr-2011 |
Peter Cowburn |
fix method name in JsonSerializable exception message
|
Revision tags: php-5.3.6, php-5.3.6RC3, php-5.3.6RC2 |
|
#
ecb9d801 |
| 21-Feb-2011 |
Scott MacVicar |
Fix Bug #54058, invalid utf-8 doesn't set json_encode() in all cases
|
#
3242016f |
| 21-Feb-2011 |
Scott MacVicar |
Fix Bug #54058, invalid utf-8 doesn't set json_encode() in all cases
|