#41458 [Opn->Fbk]: Wrong and poor documentation of ftp_close() and ftp_quit()

From: Date: Mon, 21 May 2007 13:50:25 +0000
Subject: #41458 [Opn->Fbk]: Wrong and poor documentation of ftp_close() and ftp_quit()
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969376363@lists.php.net to get a copy of this message
ID: 41458 Updated by: bjori@php.net Reported By: derernst at gmx dot ch -Status: Open +Status: Feedback Bug Type: Documentation problem PHP Version: Irrelevant New Comment: Which page are you viewing? (please post a _full_ url, not a shortcut) Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc (#969376363) next »