1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 06:51:18 +02:00
Files
archived-php-src/ext/ftp/tests/bug27809.phpt
Max Semenik e9f783fcdd Migrate skip checks to --EXTENSIONS--, p3
For rationale, see #6787

Extensions migrated in part 3:
* ftp
* gmp
* iconv
* opcache
* shmop
2021-04-03 15:23:25 +02:00

21 lines
342 B
PHP

--TEST--
Bug #27809 (ftp_systype returns null)
--EXTENSIONS--
ftp
pcntl
--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"