mirror of
https://github.com/php/php-src.git
synced 2024-12-22 08:20:23 +08:00
22 lines
359 B
PHP
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"
|