mirror of
https://github.com/php/php-src.git
synced 2024-12-21 16:00:18 +08:00
22 lines
360 B
PHP
22 lines
360 B
PHP
--TEST--
|
|
Bug #7216 (ftp_mkdir returns nothing)
|
|
--SKIPIF--
|
|
<?php
|
|
require 'skipif.inc';
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$bug7216=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_mkdir($ftp, 'CVS'));
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
string(3) "CVS"
|