php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41458 [DE] Wrong and poor documentation of ftp_close() and ftp_quit()
Submitted: 2007-05-21 13:29 UTC Modified: 2007-05-29 06:58 UTC
From: derernst at gmx dot ch Assigned:
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: derernst at gmx dot ch
New email:
PHP Version: OS:

 

 [2007-05-21 13:29 UTC] 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.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-21 13:50 UTC] bjori@php.net
Which page are you viewing? (please post a _full_ url, not a shortcut)
 [2007-05-21 14:01 UTC] derernst at gmx dot ch
Sorry - I just saw the english documentation is correct. So this submission does only affect the german translation!
 [2007-05-29 06:58 UTC] jaenecke@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Jun 05 22:01:23 2020 UTC