Skip to content

Commit 3141ad0

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix test failures in engine_unsafe_empty_string.phpt (#18727)
2 parents cb0b2a2 + d8a17ca commit 3141ad0

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)