summaryrefslogtreecommitdiff
path: root/ext/json/php_json.h
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2012-06-23 21:14:45 +0200
committerNikita Popov <nikic@php.net>2012-06-23 21:14:45 +0200
commit36fa17a5fae84ab332366a202f0a709279a2466a (patch)
tree409c529b90ee598cfcc04357b9d4904735c89edd /ext/json/php_json.h
parente8862725770c3d5ee27c6c8c8a01b226b610fa08 (diff)
parent84fe2cc890e49f40bac7c3ba74b3cfc6dc4cef2f (diff)
downloadphp-git-36fa17a5fae84ab332366a202f0a709279a2466a.tar.gz
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: Improve json_encode error handling - BFN Conflicts: ext/json/json.c
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 ef3e4b5a79..afeff3f6cc 100644
--- a/ext/json/php_json.h
+++ b/ext/json/php_json.h
@@ -63,6 +63,7 @@ extern zend_class_entry *php_json_serializable_ce;
#define PHP_JSON_UNESCAPED_SLASHES (1<<6)
#define PHP_JSON_PRETTY_PRINT (1<<7)
#define PHP_JSON_UNESCAPED_UNICODE (1<<8)
+#define PHP_JSON_PARTIAL_OUTPUT_ON_ERROR (1<<9)
/* Internal flags */
#define PHP_JSON_OUTPUT_ARRAY 0