125 Commits (e1023affc173ecdc3e43aaabcdfb528b3c1bfb7a)

Author SHA1 Message Date
Xinchen Hui a2045ff332 Happy New Year~ 14 years ago
johannes bcc87ba68e Revert change 3f3ad30c50: There shouldn't be new features in 5.3, especially 14 years ago
Nikita Popov 250393f925 Revert JSON changes to PHP 5.3 14 years ago
Nikita Popov 974324676b Add json_last_error_msg() function 14 years ago
Nikita Popov 4662151ea7 Improve JSON error handling 14 years ago
Nikita Popov 84fe2cc890 Improve json_encode error handling 14 years ago
Adam Harvey 3f3ad30c50 Fix bug #61537 (json_encode() incorrectly truncates/discards information) and 14 years ago
Matt Nowack 76ef76d2f8 Adding Braces in json.c to conform with coding standards 14 years ago
Felipe Pena e4ca0ed09f - Year++ 15 years ago
Ilia Alshanetsky 199b52c1d4 Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects with numeric string properties) 15 years ago
Felipe Pena 23e438594d - Make usage of new PHP_FE_END macro 15 years ago
Christopher Jones 52cc62d825 Remove duplicate lines present in PHP_5_3's .phpt (dtajchreber) 15 years ago
Ilia Alshanetsky f4f2aa7583 Fixed bug #54484 (Empty string in json_decode doesn't reset json_last_error()). 15 years ago
Scott MacVicar 3242016f28 Fix Bug #54058, invalid utf-8 doesn't set json_encode() in all cases 16 years ago
Scott MacVicar 9b567fea6a Fix Bug #53963, error code isn't always set in certain error cases. 16 years ago
Felipe Pena 927bf09c29 - Year++ 16 years ago
Adam Harvey 1f06a6a4e8 Fix English in the error message emitted when json_decode() is called with 16 years ago
Scott MacVicar e1ce0a64ea Fix bug #52262 - Invalid UTF-8 documents don't set an error code when they fail to decode. 16 years ago
Ilia Alshanetsky ea3a6539dc Added support for JSON_NUMERIC_CHECK option in json_encode() that converts 16 years ago
Felipe Pena 45c090f3e7 - Fixed bug #51590 (JSON_ERROR_UTF8 is undefined) 16 years ago
Felipe Pena 00ed3f7ca6 - Fixed tests 16 years ago
Felipe Pena 4d571dee74 - Fixed tests 16 years ago
Johannes Schlüter e28d042bb9 Install ext/json/php_son.h, too. 17 years ago
Sebastian Bergmann 16cb1cd469 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 17 years ago
Sebastian Bergmann 9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 17 years ago
Rasmus Lerdorf 7f594baaa3 Fix broken json tests in all branches 17 years ago
Rasmus Lerdorf 8af64e6f34 Fix broken json tests in all branches 17 years ago
Scott MacVicar 87dbefa03b MFH: Add error constant when json_encode detects an invalid UTF-8 sequence. 17 years ago
Alexey Zakhlestin 53de77421d fix tests corrupted by svn's eol-style=native 17 years ago
Alexey Zakhlestin 3e326b91e7 fix tests corrupted by svn's eol-style=native 17 years ago
Stanislav Malyshev 2361b4ea2a fix json shared build on Windows 17 years ago
Felipe Pena caf8d811ef - MFH: Fixed memleak when depth arg is less than zero 17 years ago
Johannes Schlüter 96d5c5e931 The json header should be installed so other exts can use it 17 years ago
Stanislav Malyshev 34b0f569e1 fix shared build on Windows 17 years ago
andy wharmby 9e6779cfac New json extension tests. Tested on Windows, Linux and Linux 64 bit. 17 years ago
andy wharmby a6735b8b24 New json extension tests. Tested on Windows, Linux and Linux 64 bit. 17 years ago
Antony Dovgal 00a461a989 fix ZTS build 17 years ago
Andrei Zmievski 63b6c3bab3 MFB 17 years ago
Andrei Zmievski 77beb62c5f Fix the build. 17 years ago
Jani Taskinen e636ed5789 MFH: no dots in errors 17 years ago
Jani Taskinen 7012d0967c MFH: no dots in errors 17 years ago
Andrei Zmievski efc0927f4f Expose encode/decode API. 17 years ago
Andrei Zmievski 426522f4e0 Expose encode/decode API. 17 years ago
Kalle Sommer Nielsen 9e230424b5 Cast to unsigned char to prevent compiler warning 17 years ago
Kalle Sommer Nielsen 105272bdec MFH: Fix arginfo 17 years ago
Scott MacVicar d2a7785878 MFH Allow a custom recursion depth to be specified for json_decode() 17 years ago
Scott MacVicar f6dceb637b Rebuild credits, was missed in previous RC 17 years ago
Matt Wilmas 85c513c1fc MFH: Handle overflow when decoding large numbers and avoid 2 conversions 17 years ago
Matt Wilmas 91d325dd72 MFH: Avoid 2 conversions when decoding numbers 17 years ago
Scott MacVicar a23b4073e8 MFH Missing skip in tests 17 years ago