ID:          41458
 Updated by:  [EMAIL PROTECTED]
-Summary:     Wrong and poor documentation of ftp_close() and ftp_quit()
 Reported By: derernst at gmx dot ch
-Status:      Open
+Status:      Verified
 Bug Type:    Documentation problem
 PHP Version: Irrelevant


Previous Comments:
------------------------------------------------------------------------

[2007-05-21 14:01:35] 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-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] [EMAIL PROTECTED]

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

Reply via email to