php-src/ext/ftp/tests/bug27809.phpt

22 lines
359 B
Plaintext
Raw Normal View History

2006-11-23 20:48:21 +00:00
--TEST--
2007-05-07 17:23:53 +00:00
Bug #27809 (ftp_systype returns null)
2006-11-23 20:48:21 +00:00
--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"