We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e6c065 commit b771a18Copy full SHA for b771a18
ext/spl/tests/bug54291.phpt
@@ -5,7 +5,7 @@ Bug #54291 (Crash iterating DirectoryIterator for dir name starting with \0)
5
$dir = new DirectoryIterator("\x00/abc");
6
$dir->isFile();
7
--EXPECTF--
8
-Fatal error: Uncaught UnexpectedValueException: Failed to open directory "" in %s:%d
+Fatal error: Uncaught UnexpectedValueException: DirectoryIterator::__construct() expects parameter 1 to be a valid path, string given in %s:%d
9
Stack trace:
10
#0 %s(%d): DirectoryIterator->__construct('\x00/abc')
11
#1 {main}
0 commit comments