cortesi Fri Mar 22 13:20:50 2002 EDT
Modified files:
/phpdoc/en/functions ftp.xml
Log:
correcting function prototype as of PHP source code: it returns mixed and not bool.
Plus some rewording: check my bad english, please
Index: phpdoc/en/functions/ftp.xml
diff -u phpdoc/en/functions/ftp.xml:1.39 phpdoc/en/functions/ftp.xml:1.40
--- phpdoc/en/functions/ftp.xml:1.39 Wed Mar 20 06:50:38 2002
+++ phpdoc/en/functions/ftp.xml Fri Mar 22 13:20:50 2002
@@ -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 @@
</refsect1>
</refentry>
-
<refentry id="function.ftp-login">
<refnamediv>
<refname>ftp_login</refname>
@@ -686,7 +685,7 @@
<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 @@
</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">