Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e94822d

Browse files
committed
Add a CLEAN section
1 parent 0a6cd06 commit e94822d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎ext/standard/tests/file/bug68335.phpt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22
Bug #68335: rmdir doesn't work with file:// stream wrapper
33
--FILE--
44
<?php
5-
$dir = 'file://' . __DIR__ . '/testDir';
5+
$dir = 'file://' . __DIR__ . '/test_68335_dir';
66
mkdir($dir);
77
var_dump(is_dir($dir));
88
rmdir($dir);
99
var_dump(is_dir($dir));
1010
?>
11+
--CLEAN--
12+
<?php
13+
$dir = __DIR__ . '/test_68335_dir';
14+
@rmdir($dir);
15+
?>
1116
--EXPECT--
1217
bool(true)
1318
bool(false)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /