summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/bug55124.phpt
blob: 7938196dbcd02bda527201a517d5853884a908d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Bug #55124 (recursive mkdir fails with current (dot) directory in path)
--FILE--
<?php
$old_dir_path = getcwd();
chdir(__DIR__);
mkdir('a/./b', 0755, true);
if (is_dir('a/b')) {
	rmdir('a/b');
}
if (is_dir('./a')) {
	rmdir('a');
}
chdir($old_dir_path);
echo "OK";
?>
--EXPECT--
OK