Skip to content

Conversation

@nielsdos
Copy link
Member

@nielsdos nielsdos commented Jun 1, 2025

/./ matches all characters but newlines, so if random_bytes generates a string with newlines in it, the resulting string is not empty. Fix this by adding the s modifier.

`/./` matches all characters but newlines, so if `random_bytes`
generates a string with newlines in it, the resulting string is not
empty. Fix this by adding the `s` modifier.
@TimWolla TimWolla merged commit d8a17ca into php:PHP-8.3 Jun 1, 2025
9 checks passed
TimWolla added a commit that referenced this pull request Jun 1, 2025
* PHP-8.3:
  Fix test failures in engine_unsafe_empty_string.phpt (#18727)
TimWolla added a commit that referenced this pull request Jun 1, 2025
* PHP-8.4:
  Fix test failures in engine_unsafe_empty_string.phpt (#18727)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants