Tests > Regex > fix "The mode is not binary-safe ('b' is missing)" bug

This commit is contained in:
Meritoo
2019-02-21 16:51:18 +01:00
parent aa93cd8e25
commit 22c96f0a18

View File

@@ -799,12 +799,12 @@ class RegexTest extends BaseTestCase
]; ];
yield[ yield[
fread(fopen($file1Path, 'r'), 1), fread(fopen($file1Path, 'rb'), 1),
false, false,
]; ];
yield[ yield[
fread(fopen($file2Path, 'r'), 1), fread(fopen($file2Path, 'rb'), 1),
true, true,
]; ];
} }