repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove windows encoding from `.php` files
[hiphop-php.git]
/
hphp
/
test
/
zend
/
good
/
ext
/
standard
/
tests
/
file
/
bug55124.php
blob
3007ef6d919048658bc869a93c12fcbefdda6ca3
1
<
?php
2
$old_dir_path
=
getcwd
();
3
chdir
(
__DIR__
);
4
mkdir
(
'a/./b'
,
0755
,
true
);
5
if
(
is_dir
(
'a/b'
)) {
6
rmdir
(
'a/b'
);
7
}
8
if
(
is_dir
(
'./a'
)) {
9
rmdir
(
'a'
);
10
}
11
chdir
(
$old_dir_path
);
12
echo
"OK"
;
13
?
>