From d002397e37c09808bcc37a53787b623ca2a684f7 Mon Sep 17 00:00:00 2001 From: Simone Cortesi Date: Fri, 22 Mar 2002 18:20:50 +0000 Subject: [PATCH] correcting function prototype as of PHP source code: it returns mixed and not bool. Plus some rewording: check my bad english, please git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@74748 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ftp.xml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/functions/ftp.xml b/functions/ftp.xml index abcbba12a2..d79ebdf29e 100644 --- a/functions/ftp.xml +++ b/functions/ftp.xml @@ -1,5 +1,5 @@ - + FTP functions FTP @@ -99,7 +99,6 @@ ftp_close($conn_id); - ftp_login @@ -686,7 +685,7 @@ ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10); Description - boolftp_get_option + mixedftp_get_option resourcestream intoption @@ -696,14 +695,14 @@ ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10); - Returns the value on success or &false; if the given - option is not supposed. In the latter case a + Returns the value on success, or &false; if the given + option is not supported. In the latter case, a warning message is also thrown. - This function returns the value for the requested - option from the specified FTP - stream. Currently, the following options are supported: + This function returns the value for the requested + option from the specified stream + . Currently, the following options are supported: Supported runtime FTP options