Skip to content

Conversation

@bgrgicak
Copy link
Collaborator

Fixes #815

What is this PR doing?

It fixes support for mbregex and adds a test to ensure it keeps working.

What problem is it solving?

Ensures support for mbregex.

How is the problem addressed?

By fixing a if condition in the Docker file that prevented PHP > 7.0 from enabling mbregex.
Also, the code wrongly assumed that PHP 7.4 includes oniguruma, but it doesn't, so it's now added to PHP 7.4.

Testing Instructions

  • ensure tests pass

@bgrgicak bgrgicak self-assigned this Mar 29, 2024
@bgrgicak bgrgicak added [Type] Bug An existing feature does not function as intended [Feature] PHP.wasm labels Mar 29, 2024
@bgrgicak bgrgicak requested a review from a team March 29, 2024 12:21
@adamziel
Copy link
Collaborator

Aha, good work @bgrgicak! This might need a rebuild, unfortunately, as I merged another WASM PR before, but it looke great otherwise – thank you! 🎉

@bgrgicak bgrgicak force-pushed the fix/815-mbregex-support branch from 37c39ba to 99e9173 Compare April 1, 2024 05:04
@bgrgicak bgrgicak changed the base branch from trunk to wp-now-standalone April 1, 2024 06:07
@bgrgicak bgrgicak changed the base branch from wp-now-standalone to trunk April 1, 2024 06:08
@bgrgicak bgrgicak merged commit 88c043c into trunk Apr 1, 2024
@bgrgicak bgrgicak deleted the fix/815-mbregex-support branch April 1, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] PHP.wasm [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHP Extension: add support for mbregex

3 participants