diff options
author | Gwynne Raskind <gwynne@php.net> | 2011-08-29 14:56:19 +0000 |
---|---|---|
committer | Gwynne Raskind <gwynne@php.net> | 2011-08-29 14:56:19 +0000 |
commit | 06292974b172211d1a4b71fb52e9d9ea3374bc03 (patch) | |
tree | 19b724441448e79e0cab781cc8d8f77bffcf2766 /ext/json/php_json.h | |
parent | 58747dff3a803a761555adf417df97ec552352f5 (diff) | |
download | php-git-06292974b172211d1a4b71fb52e9d9ea3374bc03.tar.gz |
Add unescaped Unicode encoding to json_encode(). Closes bug #53946. Patch by Irker and Gwynne.
Diffstat (limited to 'ext/json/php_json.h')
-rw-r--r-- | ext/json/php_json.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |