#41458 [Opn]: Wrong and poor documentation of ftp_close() and ftp_quit()
| From: | derernst at gmx dot ch | Date: | Mon, 21 May 2007 14:01:35 +0000 |
| Subject: | #41458 [Opn]: Wrong and poor documentation of ftp_close() and ftp_quit() | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969376365@lists.php.net to get a copy of this message | ||
ID: 41458
User updated by: derernst at gmx dot ch
Reported By: derernst at gmx dot ch
Status: Open
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
Sorry - I just saw the english documentation is correct. So this
submission does only affect the german translation!
Previous Comments:
------------------------------------------------------------------------
[2007-05-21 13:58:12] derernst at gmx dot ch
http://ch2.php.net/manual/de/function.ftp-close.php
http://ch2.php.net/manual/de/function.ftp-quit.php
------------------------------------------------------------------------
[2007-05-21 13:50:25] bjori@php.net
Which page are you viewing? (please post a _full_ url, not a shortcut)
------------------------------------------------------------------------
[2007-05-21 13:29:55] derernst at gmx dot ch
Description:
------------
The manual states for ftp_close():
void ftp_close ( resource $ftp_stream )
And for ftp_quit:
int ftp_quit ( int $ftp_stream )
Anyway, both var_dump(ftp_close($conn_id)) and
var_dump(ftp_quit($conn_id)) display bool(true).
In comp.lang.php I got told ftp_quit() was an alias of fpt_close(). If
this is the case it would be helpful to find this information in the
manual; if not, it would be helpful to find some short info about the
differences.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41458&edit=1