diff options
author | Adam Harvey <aharvey@php.net> | 2010-09-16 13:53:27 +0000 |
---|---|---|
committer | Adam Harvey <aharvey@php.net> | 2010-09-16 13:53:27 +0000 |
commit | 726fe638bb0a0f52ea899d18095a9d35297fa2af (patch) | |
tree | 7b443da9b0db3feba32773d6bd6b579eb1081a0b /ext/json/php_json.h | |
parent | aa297b60a3d53b2dfe076134ce9c066e4134399b (diff) | |
download | php-git-726fe638bb0a0f52ea899d18095a9d35297fa2af.tar.gz |
Implemented FR #49366 (Make slash escaping optional in json_encode()).
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 fd5287c0e5..c321ad292a 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -59,6 +59,7 @@ extern zend_class_entry *php_json_serializable_ce; #define PHP_JSON_HEX_QUOT (1<<3) #define PHP_JSON_FORCE_OBJECT (1<<4) #define PHP_JSON_NUMERIC_CHECK (1<<5) +#define PHP_JSON_UNESCAPED_SLASHES (1<<6) /* Internal flags */ #define PHP_JSON_OUTPUT_ARRAY 0 |