php-src/ext/ftp/tests/bug27809.phpt
2007-05-07 18:03:01 +00:00

22 lines
359 B
PHP

--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"