Fix bug #68546 (json_decode cannot access property started with \0)

This commit is contained in:
Jakub Zelenka 2015-06-21 15:30:33 +01:00
parent 115e9288bb
commit f3df3df873
6 changed files with 62 additions and 11 deletions

View file

@ -51,6 +51,7 @@ typedef enum {
PHP_JSON_ERROR_RECURSION,
PHP_JSON_ERROR_INF_OR_NAN,
PHP_JSON_ERROR_UNSUPPORTED_TYPE,
PHP_JSON_ERROR_INVALID_PROPERTY_NAME,
PHP_JSON_ERROR_UTF16
} php_json_error_code;