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