From 06292974b172211d1a4b71fb52e9d9ea3374bc03 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Mon, 29 Aug 2011 14:56:19 +0000 Subject: Add unescaped Unicode encoding to json_encode(). Closes bug #53946. Patch by Irker and Gwynne. --- 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 6feffd668d..002bbe1f55 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -62,6 +62,7 @@ extern zend_class_entry *php_json_serializable_ce; #define PHP_JSON_NUMERIC_CHECK (1<<5) #define PHP_JSON_UNESCAPED_SLASHES (1<<6) #define PHP_JSON_PRETTY_PRINT (1<<7) +#define PHP_JSON_UNESCAPED_UNICODE (1<<8) /* Internal flags */ #define PHP_JSON_OUTPUT_ARRAY 0 -- cgit v1.2.1