diff options
Diffstat (limited to 'ext/ftp/tests/bug27809.phpt')
| -rw-r--r-- | ext/ftp/tests/bug27809.phpt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/ftp/tests/bug27809.phpt b/ext/ftp/tests/bug27809.phpt new file mode 100644 index 0000000..ff9765c --- /dev/null +++ b/ext/ftp/tests/bug27809.phpt @@ -0,0 +1,21 @@ +--TEST-- +Bug #27809 (ftp_systype returns null) +--SKIPIF-- +<?php +require 'skipif.inc'; +?> +--FILE-- +<?php +$bug27809=true; +require 'server.inc'; + +$ftp = ftp_connect('127.0.0.1', $port); +if (!$ftp) die("Couldn't connect to the server"); + +var_dump(ftp_login($ftp, 'anonymous', 'IEUser@')); +var_dump(ftp_systype($ftp)); + +?> +--EXPECT-- +bool(true) +string(6) "OS/400" |
