diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-02-21 01:04:41 -0300 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-02-23 11:27:14 +0100 |
commit | 0b8cfa6c786536947cfa0be1aad0e396096aded7 (patch) | |
tree | 95ef15a55ba439083073ff65b6ef3fddf8535411 /ext/ftp/php_ftp.c | |
parent | 42952a756e20f147db9ef6cd1f16db6cfaabfef1 (diff) | |
download | php-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.c | 2 |
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() |