From cffc77753475c6cfe8f8798c38ab5b509e7a6d41 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Fri, 15 May 2009 09:10:01 +0000 Subject: [PATCH] Fix arginfo --- ext/json/json.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.50.1