19 Commits (194fff35513dcbfcacf310bd02cfbc2eb7935260)

Author SHA1 Message Date
Scott MacVicar fdf2d1e46f MFH Add json_last_error() for getting a bit of information about what failed during a decode, also fixes a segfault when we have [1} 17 years ago
Scott MacVicar 6393540c75 MFH Fix Windows build 17 years ago
Scott MacVicar 8ef7fe1d99 Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table. 17 years ago
Matt Wilmas d5295fc9c8 MFH: Changed logic for LONG_MIN 17 years ago
Rasmus Lerdorf 2f469e8c15 We can afford a larger stack here and other json parsers out there 18 years ago
Yiduo (David) Wang 4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 19 years ago
Ilia Alshanetsky c969e9005b Handle very small longs via double 19 years ago
Ilia Alshanetsky 9f28e21bb1 Fixed bug #41673 (json_encode breaks large numbers in arrays). 19 years ago
Ilia Alshanetsky faae3e9ecf Fixed bug #41504 (json_decode() incorrectly decodes JSON arrays with empty 19 years ago
Rasmus Lerdorf c7069887a4 Make the code match the commit comment 19 years ago
Rasmus Lerdorf 464d87e58b I don't see any reason to leave the stack limitation at 20. We have 19 years ago
Antony Dovgal 09a575a20f MFH: fix #41403 (json_decode cannot decode floats if localeconv decimal_point is not '.') 19 years ago
Ilia Alshanetsky 8b245e5aaf Fixed bug #41067 (json_encode() problem with UTF-16 input). 19 years ago
Andrei Zmievski b62d120580 Fix processing of control characters; they should be escaped as \u 19 years ago
Antony Dovgal cff6e2b446 initialize variable 20 years ago
Nuno Lopes ff591e2cf0 more const keywording 20 years ago
Antony Dovgal 60720d285f MFH: ZTS fix 20 years ago
Antony Dovgal 0b97d2bd60 fix segfault, add test 20 years ago
SVN Migration 608baa409a This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 20 years ago