From 3f3ad30c50c32327e723046bcc6649d05dd9236a Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 2 Apr 2012 09:46:18 +0800 Subject: Fix bug #61537 (json_encode() incorrectly truncates/discards information) and remove a test case that's now mooted by this fix. --- ext/json/php_json.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/json/php_json.h') diff --git a/ext/json/php_json.h b/ext/json/php_json.h index b104d4ca6a..3cb4902e27 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -56,6 +56,7 @@ PHP_JSON_API void php_json_decode(zval *return_value, char *str, int str_len, ze #define PHP_JSON_HEX_QUOT (1<<3) #define PHP_JSON_FORCE_OBJECT (1<<4) #define PHP_JSON_NUMERIC_CHECK (1<<5) +#define PHP_JSON_PARTIAL_OUTPUT_ON_ERROR (1<<9) #define PHP_JSON_OUTPUT_ARRAY 0 #define PHP_JSON_OUTPUT_OBJECT 1 -- cgit v1.2.1