From: Anatol Belski Date: Wed, 27 Aug 2014 20:13:01 +0000 (+0200) Subject: fix signature X-Git-Tag: PRE_PHP7_REMOVALS~258 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=232459efd0d185487988e069209dc523472fef5d;p=php fix signature --- diff --git a/ext/json/json.c b/ext/json/json.c index 3c5e22cf5c..24324bbe99 100644 --- a/ext/json/json.c +++ b/ext/json/json.c @@ -664,7 +664,7 @@ again: } /* }}} */ -PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, size_t options, zend_long depth TSRMLS_DC) /* {{{ */ +PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth TSRMLS_DC) /* {{{ */ { size_t utf16_len; unsigned short *utf16; diff --git a/ext/json/php_json.h b/ext/json/php_json.h index 1a4fb1703b..08a4a7ff94 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -50,7 +50,7 @@ ZEND_END_MODULE_GLOBALS(json) #endif PHP_JSON_API void php_json_encode(smart_str *buf, zval *val, int options TSRMLS_DC); -PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, int options, zend_long depth TSRMLS_DC); +PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth TSRMLS_DC); extern PHP_JSON_API zend_class_entry *php_json_serializable_ce;