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
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC