Merge JSON_THROW_ON_ERROR

This commit is contained in:
Andrea Faulds 2017-10-22 19:41:23 +01:00
parent d5127cec6a
commit e823770515
7 changed files with 236 additions and 34 deletions

View file

@ -74,6 +74,7 @@ typedef enum {
/* json_decode() and json_encode() common options */
#define PHP_JSON_INVALID_UTF8_IGNORE (1<<20)
#define PHP_JSON_INVALID_UTF8_SUBSTITUTE (1<<21)
#define PHP_JSON_THROW_ON_ERROR (1<<22)
/* Internal flags */
#define PHP_JSON_OUTPUT_ARRAY 0