summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-05-05 19:45:50 +0800
committerXinchen Hui <laruence@php.net>2014-05-05 19:45:50 +0800
commitfa6f6c880741ae9696a9c21707fd3a844dd8d5ee (patch)
tree40b54c2f6d3d85c3aed1b1d76f7c92fca0a196d6 /ext/json/json.c
parentc73c6526ef4d61881f53f5914398f58a35d1c62f (diff)
downloadphp-git-fa6f6c880741ae9696a9c21707fd3a844dd8d5ee.tar.gz
Fixed Reference handling in xml_parse_into_struct
Diffstat (limited to 'ext/json/json.c')
-rw-r--r--ext/json/json.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/json/json.c b/ext/json/json.c
index 528764e17c..7760741125 100644
--- a/ext/json/json.c
+++ b/ext/json/json.c
@@ -380,7 +380,6 @@ static int json_utf8_to_utf16(unsigned short *utf16, char utf8[], int len) /* {{
}
/* }}} */
-
static void json_escape_string(smart_str *buf, char *s, int len, int options TSRMLS_DC) /* {{{ */
{
int pos = 0, ulen = 0;
@@ -538,7 +537,6 @@ static void json_escape_string(smart_str *buf, char *s, int len, int options TSR
}
/* }}} */
-
static void json_encode_serializable_object(smart_str *buf, zval *val, int options TSRMLS_DC) /* {{{ */
{
zend_class_entry *ce = Z_OBJCE_P(val);
@@ -754,7 +752,6 @@ PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, int str_len,
}
/* }}} */
-
/* {{{ proto string json_encode(mixed data [, int options[, int depth]])
Returns the JSON representation of a value */
static PHP_FUNCTION(json_encode)