1--TEST-- 2Bug #27809 (ftp_systype returns null) 3--EXTENSIONS-- 4ftp 5pcntl 6--FILE-- 7<?php 8$bug27809=true; 9require 'server.inc'; 10 11$ftp = ftp_connect('127.0.0.1', $port); 12if (!$ftp) die("Couldn't connect to the server"); 13 14var_dump(ftp_login($ftp, 'anonymous', 'IEUser@')); 15var_dump(ftp_systype($ftp)); 16 17?> 18--EXPECT-- 19bool(true) 20string(6) "OS/400" 21