Hi, Internals
I decide deprecate mbregex in 8.6 and drop in 9.0.
So I would like to go to Under Discussion phase.
https://wiki.php.net/rfc/eol-oniguruma
https://github.com/php/php-src/pull/21490
Feel free to comment.
Regards
Yuya
--
Yuya Hamada (tekimen)
Hi Yuya,
Il 23/03/2026 01:34, youkidearitai ha scritto:
I decide deprecate mbregex in 8.6 and drop in 9.0.
So I would like to go to Under Discussion phase.
https://wiki.php.net/rfc/eol-oniguruma
https://github.com/php/php-src/pull/21490
Thanks for that. To be honest, I'm a bit confused and I'm not sure I
understand what the RFC is proposing.
Also, what exactly is mb_onig?
Cheers
Matteo Beccati
As far as I understand, mbstring extension internally uses library
named oniguruma, which provides regex support for mb_ereg* and few
other functions. Oniguruma reached EOL almost year ago. This RFC
proposes deprecation and subsequent removal of all regex related
functions from mbstring extension and removing dependency on
oniguruma. Instead, Yuya offers pie extension named mb_onig/mb_onig,
which is a new home for those functions. For that goal he forked
oniguruma for providing updates on security and unicode version.
2026年3月23日(月) 19:57 go.al.ni@gmail.com:
As far as I understand, mbstring extension internally uses library
named oniguruma, which provides regex support for mb_ereg* and few
other functions. Oniguruma reached EOL almost year ago. This RFC
proposes deprecation and subsequent removal of all regex related
functions from mbstring extension and removing dependency on
oniguruma. Instead, Yuya offers pie extension named mb_onig/mb_onig,
which is a new home for those functions. For that goal he forked
oniguruma for providing updates on security and unicode version.
Hi both
Thank you feedback and explain.
I modified clearly this RFC.
This RFC is I would like drop support mbregex.
Please read one more.
Regards
Yuya
--
Yuya Hamada (tekimen)