Skip to content

Commit 88ef989

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Fix test failures in engine_unsafe_empty_string.phpt (#18727)
2 parents 233e33f + 3141ad0 commit 88ef989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/random/tests/03_randomizer/engine_unsafe_empty_string.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ final class EmptyStringEngine implements Engine
1111
public function generate(): string
1212
{
1313
// Create a non-interned empty string.
14-
return preg_replace('/./', '', random_bytes(4));
14+
return preg_replace('/./s', '', random_bytes(4));
1515
}
1616
}
1717

0 commit comments

Comments
 (0)