[PHP-CVS] cvs: php-src /ext/json JSON_parser.c JSON_parser.h json.c

2009-05-13 Thread Scott MacVicar
scottmacThu May 14 00:13:57 2009 UTC Modified files: /php-src/ext/json JSON_parser.c JSON_parser.h json.c Log: Allow the json_decode() depth to be any size, but keep the static one around for now. It might make sense to allow an unbound depth. h

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c JSON_parser.h json.c php_json.h /ext/json/tests 007.phpt

2008-12-18 Thread Scott MacVicar
scottmacFri Dec 19 02:01:00 2008 UTC Modified files: /php-src/ext/json JSON_parser.c JSON_parser.h json.c php_json.h /php-src/ext/json/tests 007.phpt Log: Add json_last_error() for getting a bit of information about what failed during a decode,

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c JSON_parser.h json.c

2008-12-17 Thread Scott MacVicar
scottmacWed Dec 17 14:39:56 2008 UTC Modified files: /php-src/ext/json JSON_parser.c JSON_parser.h json.c Log: Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table. Add missing ref