php-src/ext/standard/tests/file/bug68335.phpt
Christoph M. Becker dabc28d182 Fix #78880: Spelling error report
We fix the most often occuring typos according to a recent codespell
report[1] in tests, code comments and documentation.

[1] <https://fossies.org/linux/test/php-src-master-f8f48ce.191129.tar.gz/codespell.html>.
2019-12-21 11:58:00 +01:00

14 lines
235 B
PHP

--TEST--
Bug #68335: rmdir doesn't work with file:// stream wrapper
--FILE--
<?php
$dir = 'file://' . __DIR__ . '/testDir';
mkdir($dir);
var_dump(is_dir($dir));
rmdir($dir);
var_dump(is_dir($dir));
?>
--EXPECT--
bool(true)
bool(false)