]> granicus.if.org Git - php/commitdiff
Fix arginfo
authorKalle Sommer Nielsen <kalle@php.net>
Fri, 15 May 2009 09:10:01 +0000 (09:10 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Fri, 15 May 2009 09:10:01 +0000 (09:10 +0000)
ext/json/json.c

index b8bcad21cf953c56154473b7ce228da04434b1a0..8bbd8ea6282977fd5ba11334700bfd14a24c7e01 100644 (file)
@@ -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)
 {