From 726fe638bb0a0f52ea899d18095a9d35297fa2af Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Thu, 16 Sep 2010 13:53:27 +0000 Subject: Implemented FR #49366 (Make slash escaping optional in json_encode()). --- 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 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 -- cgit v1.2.1