#28842 [Opn->Csd]: Wrong example in ftp_exec documentation

From: Date: Sat, 19 Jun 2004 15:44:58 +0000
Subject: #28842 [Opn->Csd]: Wrong example in ftp_exec documentation
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361437@lists.php.net to get a copy of this message
ID: 28842 Updated by: curt@php.net Reported By: demenev at on-line dot jar dot ru -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2004-06-19 17:21:16] demenev at on-line dot jar dot ru Description: ------------ ftp_exec returns boolean, and example of this function in manual uses return value of this function as it was a string: if ($res = ftp_exec($conn_id, $command)) { echo "$command executed successfully<br />\n"; echo nl2br($res); } else { echo 'could not execute ' . $command; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28842&edit=1

« previous php.doc (#969361437) next »