summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2019-11-30 15:37:28 -0800
committerStanislav Malyshev <stas@php.net>2019-12-16 00:03:18 -0800
commitb771a18133bdfd95ce36932e5b83a724f17a1427 (patch)
tree70fe91fc5ce779a4cc1d86bd31e4bdf6fc144ce7
parent0e6c0654ed06751ced134515f7629c40bd979d7f (diff)
downloadphp-git-b771a18133bdfd95ce36932e5b83a724f17a1427.tar.gz
Fix test
-rw-r--r--ext/spl/tests/bug54291.phpt2
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}