]> granicus.if.org Git - php/commit
There is no error code set for json_last_error if an invalid utf8
authorRasmus Lerdorf <rasmus@php.net>
Wed, 22 Jul 2009 21:32:58 +0000 (21:32 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 22 Jul 2009 21:32:58 +0000 (21:32 +0000)
commitf0fb480b13ceb6dee25db19b34007130a3fd1511
tree9a7a9cdbf993ab638479259469088120ef9799a6
parentd1d69cc7964b6d58df0ffa31a2bd2312ab1a261a
There is no error code set for json_last_error if an invalid utf8
sequence is encountered.  This fixes that.  Might be worthwhile to
merge to 5.3 despite the new constant.
ext/json/JSON_parser.h
ext/json/json.c