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
This commit is contained in:
Simone Cortesi 2002-03-22 18:20:50 +00:00
parent 7708b37a40
commit d002397e37

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.39 $ -->
<!-- $Revision: 1.40 $ -->
<reference id="ref.ftp">
<title>FTP functions</title>
<titleabbrev>FTP</titleabbrev>
@ -99,7 +99,6 @@ ftp_close($conn_id);
</refsect1>
</refentry>
<refentry id="function.ftp-login">
<refnamediv>
<refname>ftp_login</refname>
@ -686,7 +685,7 @@ ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10);
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>ftp_get_option</methodname>
<type>mixed</type><methodname>ftp_get_option</methodname>
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
<methodparam><type>int</type><parameter>option</parameter></methodparam>
</methodsynopsis>
@ -696,14 +695,14 @@ ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10);
</para>
</note>
<para>
Returns the value on success or &false; if the given
<parameter>option</parameter> is not supposed. In the latter case a
Returns the value on success, or &false; if the given
<parameter>option</parameter> is not supported. In the latter case, a
warning message is also thrown.
</para>
<para>
This function returns the <parameter>value</parameter> for the requested
<parameter>option</parameter> from the specified <parameter>FTP
stream</parameter>. Currently, the following options are supported:
This function returns the value for the requested
<parameter>option</parameter> from the specified <parameter>stream
</parameter>. Currently, the following options are supported:
<table>
<title>Supported runtime FTP options</title>
<tgroup cols="2">