summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-02-21 01:04:41 -0300
committerChristoph M. Becker <cmbecker69@gmx.de>2018-02-23 11:27:14 +0100
commit0b8cfa6c786536947cfa0be1aad0e396096aded7 (patch)
tree95ef15a55ba439083073ff65b6ef3fddf8535411 /ext/ftp/php_ftp.c
parent42952a756e20f147db9ef6cd1f16db6cfaabfef1 (diff)
downloadphp-git-0b8cfa6c786536947cfa0be1aad0e396096aded7.tar.gz
Fix some arginfos
* all arguments for ftp_pasv are required * $varname for getenv function isn't required anymore * fsockopen and pfsockopen only require $hostname * strtok can work with only one parameter * strpbrk needs two parameters to work * required parameters and add some parameters in openssl_* functions
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r--ext/ftp/php_ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c
index 6723d85770..1eec8d31e1 100644
--- a/ext/ftp/php_ftp.c
+++ b/ext/ftp/php_ftp.c
@@ -141,7 +141,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_ftp_nb_fget, 0, 0, 4)
ZEND_ARG_INFO(0, resumepos)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO(arginfo_ftp_pasv, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_ftp_pasv, 0, 0, 2)
ZEND_ARG_INFO(0, ftp)
ZEND_ARG_INFO(0, pasv)
ZEND_END_ARG_INFO()