diff options
| -rw-r--r-- | ext/spl/tests/dit_005.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/spl/tests/dit_005.phpt b/ext/spl/tests/dit_005.phpt index 9278a115a3..942a58d4ae 100644 --- a/ext/spl/tests/dit_005.phpt +++ b/ext/spl/tests/dit_005.phpt @@ -2,7 +2,8 @@ SPL: FilesystemIterator and clone --FILE-- <?php -$a = new FileSystemIterator(__DIR__); +// Let's hope nobody writes into this directory while testing... +$a = new FileSystemIterator(__DIR__ . '/..'); $b = clone $a; var_dump((string)$b == (string)$a); var_dump($a->key() == $b->key()); |
