From: Zoe Slattery Date: Wed, 31 Dec 2008 20:04:55 +0000 (+0000) Subject: new test from Nat Mcugh X-Git-Tag: php-5.4.0alpha1~191^2~4688 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edaf385ae74c97cc3b21d31e50e7998ed1dcf385;p=php new test from Nat Mcugh --- diff --git a/ext/ftp/tests/ftp_fget_basic.phpt b/ext/ftp/tests/ftp_fget_basic.phpt new file mode 100644 index 0000000000..b81c7263e5 --- /dev/null +++ b/ext/ftp/tests/ftp_fget_basic.phpt @@ -0,0 +1,45 @@ +--TEST-- +FTP ftp_fget file for both binary and ASCII transfer modes +--XFAIL-- +Mising implementation in PHP6 +--CREDITS-- +Nathaniel McHugh +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +bool(true) +bool(true) +For sale: baby shoes, never worn. +bool(true) +string(21) "BINARYFoo%00Bar%0D%0A" + +Warning: ftp_fget(): a warning: No such file or directory in %sftp_fget_basic.php on line %d