summaryrefslogtreecommitdiff
path: root/ext/json/php_json.h
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2010-09-16 13:53:27 +0000
committerAdam Harvey <aharvey@php.net>2010-09-16 13:53:27 +0000
commit726fe638bb0a0f52ea899d18095a9d35297fa2af (patch)
tree7b443da9b0db3feba32773d6bd6b579eb1081a0b /ext/json/php_json.h
parentaa297b60a3d53b2dfe076134ce9c066e4134399b (diff)
downloadphp-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.h1
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