From: Kalle Sommer Nielsen Date: Fri, 15 May 2009 09:10:01 +0000 (+0000) Subject: Fix arginfo X-Git-Tag: php-5.4.0alpha1~191^2~3658 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cffc77753475c6cfe8f8798c38ab5b509e7a6d41;p=php Fix arginfo --- diff --git a/ext/json/json.c b/ext/json/json.c index b8bcad21cf..8bbd8ea628 100644 --- a/ext/json/json.c +++ b/ext/json/json.c @@ -57,6 +57,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_json_decode, 0, 0, 1) ZEND_ARG_INFO(0, json) ZEND_ARG_INFO(0, assoc) + ZEND_ARG_INFO(0, depth) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO(arginfo_json_last_error, 0) @@ -475,7 +476,7 @@ static void json_encode_r(smart_str *buf, zval *val, int options TSRMLS_DC) /* { } /* }}} */ -/* {{{ proto string json_encode(mixed data) U +/* {{{ proto string json_encode(mixed data [, long options]) U Returns the JSON representation of a value */ static PHP_FUNCTION(json_encode) {