mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix test failures in engine_unsafe_empty_string.phpt (#18727)
This commit is contained in:
commit
3141ad0e40
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ final class EmptyStringEngine implements Engine
|
||||||
public function generate(): string
|
public function generate(): string
|
||||||
{
|
{
|
||||||
// Create a non-interned empty string.
|
// Create a non-interned empty string.
|
||||||
return preg_replace('/./', '', random_bytes(4));
|
return preg_replace('/./s', '', random_bytes(4));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue