summaryrefslogtreecommitdiff
path: root/ext/ftp/tests/bug27809.phpt
blob: ff9765c102ba9b628282f6225a035cc284e1073f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"