diff options
Diffstat (limited to 'ext/json/json.c')
-rw-r--r-- | ext/json/json.c | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/ext/json/json.c b/ext/json/json.c index 1797c00c9c..cbf4f84014 100644 --- a/ext/json/json.c +++ b/ext/json/json.c @@ -92,8 +92,7 @@ static PHP_MINIT_FUNCTION(json) } /* }}} */ -/* {{{ PHP_GINIT_FUNCTION -*/ +/* {{{ PHP_GINIT_FUNCTION */ static PHP_GINIT_FUNCTION(json) { #if defined(COMPILE_DL_JSON) && defined(ZTS) @@ -106,8 +105,7 @@ static PHP_GINIT_FUNCTION(json) /* }}} */ -/* {{{ json_module_entry - */ +/* {{{ json_module_entry */ zend_module_entry json_module_entry = { STANDARD_MODULE_HEADER, "json", @@ -133,8 +131,7 @@ ZEND_TSRMLS_CACHE_DEFINE() ZEND_GET_MODULE(json) #endif -/* {{{ PHP_MINFO_FUNCTION - */ +/* {{{ PHP_MINFO_FUNCTION */ static PHP_MINFO_FUNCTION(json) { php_info_print_table_start(); @@ -216,8 +213,7 @@ PHP_JSON_API int php_json_decode_ex(zval *return_value, const char *str, size_t } /* }}} */ -/* {{{ proto string json_encode(mixed data [, int options[, int depth]]) - Returns the JSON representation of a value */ +/* {{{ Returns the JSON representation of a value */ PHP_FUNCTION(json_encode) { zval *parameter; @@ -259,8 +255,7 @@ PHP_FUNCTION(json_encode) } /* }}} */ -/* {{{ proto mixed json_decode(string json [, bool assoc [, int depth]]) - Decodes the JSON representation into a PHP value */ +/* {{{ Decodes the JSON representation into a PHP value */ PHP_FUNCTION(json_decode) { char *str; @@ -314,8 +309,7 @@ PHP_FUNCTION(json_decode) } /* }}} */ -/* {{{ proto int json_last_error() - Returns the error code of the last json_encode() or json_decode() call. */ +/* {{{ Returns the error code of the last json_encode() or json_decode() call. */ PHP_FUNCTION(json_last_error) { ZEND_PARSE_PARAMETERS_NONE(); @@ -324,8 +318,7 @@ PHP_FUNCTION(json_last_error) } /* }}} */ -/* {{{ proto string json_last_error_msg() - Returns the error string of the last json_encode() or json_decode() call. */ +/* {{{ Returns the error string of the last json_encode() or json_decode() call. */ PHP_FUNCTION(json_last_error_msg) { ZEND_PARSE_PARAMETERS_NONE(); |