8000 [Console] Fix PHP 8.1 null error for preg_match flag by kylekatarnls · Pull Request #40187 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Console] Fix PHP 8.1 null error for preg_match flag #40187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2021

Conversation

kylekatarnls
Copy link
Contributor
Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Since PHP 8.1, null is no longer accepted as $flags in preg_match, default integer 0 value should be used instead.

Since PHP 8.1, null is no longer accepted as $flags, default integer `0` value should be used instead.
@xabbuh
Copy link
Member
xabbuh commented Feb 15, 2021

Thank you @kylekatarnls.

@xabbuh xabbuh merged commit e62ef2a into symfony:4.4 Feb 15, 2021
This was referenced Mar 4, 2021
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.

5 participants
0