diff options
author | Stanislav Malyshev <stas@php.net> | 2019-11-30 15:37:28 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2019-12-16 00:03:18 -0800 |
commit | b771a18133bdfd95ce36932e5b83a724f17a1427 (patch) | |
tree | 70fe91fc5ce779a4cc1d86bd31e4bdf6fc144ce7 | |
parent | 0e6c0654ed06751ced134515f7629c40bd979d7f (diff) | |
download | php-git-b771a18133bdfd95ce36932e5b83a724f17a1427.tar.gz |
Fix test
-rw-r--r-- | ext/spl/tests/bug54291.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/bug54291.phpt b/ext/spl/tests/bug54291.phpt index b15a3723d4..b4c1a2dc4b 100644 --- a/ext/spl/tests/bug54291.phpt +++ b/ext/spl/tests/bug54291.phpt @@ -5,7 +5,7 @@ Bug #54291 (Crash iterating DirectoryIterator for dir name starting with \0) $dir = new DirectoryIterator("\x00/abc"); $dir->isFile(); --EXPECTF-- -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 Stack trace: #0 %s(%d): DirectoryIterator->__construct('\x00/abc') #1 {main} |