Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130398 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 3C4F71A00BC for ; Thu, 19 Mar 2026 01:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1773883651; bh=NucpEFfQ+Hkyqm35Bp8hn0DhzkC7ePQAaiUyIs1FXfI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=X0piX5TZ39DHRvlEa8RjjQRVOCfXR1Njj7aUnRaRuO17DyGkLxJij1Ht5lOW1Vl91 qLzTZ0oeHZXROseiEI+mB9Q0Vo+ZNeStrL9VY1Mg8D1bPD2V/20WVEz6ZHfrwRG3f4 YavIM0W1MUVzzJyi5+At7vQSYggihpI2/GIoWANMovQp5OYGB/hfI70mcb2SCrDiOy hNM5rI+79w90TS4e8UtjSWKnsKMelgPGcfcPtqgXMgFaML1RSvrnoJM5ZwAk+k9XY6 wEatW0cexOWCM8Wf7FgI0mvRd549mhtu+3Hhx8okz2AFcICPq6OuTo7LWBr3+PQxVp cKPM/6AsdXZQw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EA067180062 for ; Thu, 19 Mar 2026 01:27:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 19 Mar 2026 01:27:27 +0000 (UTC) Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-3585ec417f6so714850a91.1 for ; Wed, 18 Mar 2026 18:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773883641; cv=none; d=google.com; s=arc-20240605; b=PR1PsZ3PZHGadjiHmV6jhUkNgtBxOnkqggt/eSU0hScJJbRpp5ulj+rrho7dMYm3vp A3HmRE/oMw/sLkP99VoYE5COWFLDHBJ+XxhpXw4oeagQ42euBoCLUg8f05NdPqPP/tUM 1yLvQKfmEZbyB8bPzdV1WHc3Kq6vGr2bi9ck2S0R48iG5y40XFpGKw7oVBlMpdtME7vm CdkWNCVlrkaO8VAIdkCqtW1OweYbvov0wnMV5m54Vw7dIUtQaOkNpnTkY9zulB9I4iX9 qLhxJLZ5+O7+NmRmi3A1r3B7cbWa8G/xNZxTPkCJC0Lm2Ny7XKMisvFv8CKYSLHAOeSj m+Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=J80ZoN6IZ2w6b5Or5VtcUElm3fP3Qs2rgum7nNbyWyQ=; fh=qCEA6M94olVfH198s51dxZc1N+wKPz28ZyYPspewHTQ=; b=T9vRmylyjPliiCRizr6qRUOXB4NRPbyjRLDIS8F0iVlmF0ZWOZLnH3cMKvmO3PjJWF n6z9Y4nNnzSCVNj3IZd1pr/CQITvKC2gSAz6yiUKkk6ZSAF0LMu+6Ex74Wscjun229Sh gT19DvyVkx7m4EBwiMvKL2iDTgKEDkH+D51Gn/X6/DE2Cff2Bz9sGwl3FQFsSICHjJzO W6pifH+oqB0nIhXP22VCdq9qChBq0BeO56DE/W6LRQUK9DIZSx4URuKaJ0lsm6WsyqQa PgoH7eIrnBA5olPWuSMWTIXSuB9i3EXQQM2ELVYTPLqfj/Ep6iFv+jFuP3LEKYDaJO5f mweQ==; darn=lists.php.net ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773883641; x=1774488441; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=J80ZoN6IZ2w6b5Or5VtcUElm3fP3Qs2rgum7nNbyWyQ=; b=LxxGi9aasYdpEQqw+z+1tc1FxpF+YYFX5ihDmJmsrHL1CqZIIuCQUueGJrrhLPaf1A XjlWowSYnJ8cvAtF8ACzTVV1ZyC+dQJnS70/guq99Jr2XAAVKICxbFmnTHbPp/Aw4rrb YUqcFKsDqxOHVFj7/+ShCodTqA9pYQU3eQZ/sYwpOC4GiI6Y+e7L4O1Q8Upyccycuc7I +62O1JhJS4hn/po1ZSz8AtxWXj/xhH8oR1nn4/STv5AupwkQ3Mwxg+sDHrETxF0dnoHH 3c5zUDr2likZ8yFbN8UkA4d7P/tuTfTnQ23hrPfD+0oKNkU/Q+rVfZoh98e9vLjTRNHL etYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773883641; x=1774488441; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=J80ZoN6IZ2w6b5Or5VtcUElm3fP3Qs2rgum7nNbyWyQ=; b=aISgetkNQUzBmfo/PcI5QIgK7Qlkxwc8LGE8h7SaW9tOFvGTZ0jgEUe6rbw8liDEDI xnFj5z6TSZg4m3ofAAMtI5+md6admowniQkqpJfid+FUgNtl2KwhBJOgMYKmC3QOJOEF 6dEU5Hht9zGuJKiFuLEn4BDHpn/ykMvsDXN46Wd3AvGUgTRD5P7LQyBxxhzY6TTpeIg8 kkAahNwS2FBiYI643DEqq/k+SJupBY2k39ULL8CAt9KCB9Hv/4grkNYpaMb4Pz2mhEcM w8EEuPif5JJVe9Z6yo3oTVlpBxZw2Aw2T8hBrRg3/P6ONsjp5d9adIC9PIuGRhwye+A0 mTlQ== X-Gm-Message-State: AOJu0Yy/BayGetBwlTzF+yqpKlQ9apQjvUS7L60kqpVBW+NB0QBHqGsZ KN94TWYnlXiqbP5a4GJW91M9BnnZ+3jLb1QUwJR344O+x6JautgxQG5RTOJuSDk7ZpVctJsZ1v3 ORNdWu0aYJVO3PfrJHo4HBKZyAOzSGK8= X-Gm-Gg: ATEYQzzudOkUCtfmH293csN+AomO4zVA/Ytu4SL08mxbh4sDph2G6uCr1etAGxGYbjG wxi2Gpq7IG4Zpk+wq6Qfrd22eTGJIc8XR/8vUAJe+WxCqF054T87dUj8smPJr9qeF4VWAGplRlD 6xnm4b5Paj2vHuPWlgWBv4YCNdaAnBCoNGXsa3rmFj17A4CSTguGoamqTaCw2JqRO94jiQSvXed doLZEQ60fdtLZL0aynqwDIDnWGgi/Du1xVpncdSbmN/AVAr6+mg3W/Tl+a3rq5FFKlh5BKzu4dU DUqj0aX+e/NhFLTHfOY+n7yyVRQYCEwX/Vxk6bOroL4kuGDLAXqFgswGlBJMFKJlnxR5ynCQ4Uo 4uH1v X-Received: by 2002:a17:90b:2d8b:b0:35b:a0f0:8327 with SMTP id 98e67ed59e1d1-35bc5fe9735mr1091866a91.2.1773883641239; Wed, 18 Mar 2026 18:27:21 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <8d1d90e2-b2db-421a-babe-f915dc06b76d@gmx.de> In-Reply-To: Date: Thu, 19 Mar 2026 02:26:44 +0100 X-Gm-Features: AaiRm51797JbBRyc1FF7ZP_glIqkBO_W3uw87trILpOCtfa0pBueoPAAJ2V-QMM Message-ID: Subject: Re: [PHP-DEV][DISCUSSION] Deprecate mbregex in PHP 8.6 and maintenance version To: youkidearitai Cc: php internals Content-Type: multipart/alternative; boundary="0000000000004f1d48064d5678b0" From: divinity76@gmail.com (Hans Henrik Bergan) --0000000000004f1d48064d5678b0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 17 Mar 2026 at 20:55, youkidearitai wrote= : > 2026=E5=B9=B43=E6=9C=8818=E6=97=A5(=E6=B0=B4) 2:31 Kamil Tekiela : > > > > On Tue, 17 Mar 2026 at 17:07, Hans Henrik Bergan > wrote: > > > > > > > > > > > > On Tue, 17 Mar 2026 at 09:43, youkidearitai > wrote: > > >> > > >> 2025=E5=B9=B48=E6=9C=8826=E6=97=A5(=E7=81=AB) 19:15 Derick Rethans <= derick@php.net>: > > >> > > > >> > On Mon, 25 Aug 2025, Christoph M. Becker wrote: > > >> > > > >> > > On 25.08.2025 at 09:26, youkidearitai wrote: > > >> > > > > >> > > > I improvement this RFC. https://wiki.php.net/rfc/eol-oniguruma > > >> > > > > > >> > > > Added more information about maintenance versions. What do you > think > > >> > > > about Oniguruma maintenance ended. Please watch and feel free = to > > >> > > > comment. > > >> > > > > >> > > First, thank you for caring about this! I agree that we need a > long > > >> > > term solution for this issue. As I understand it, Oniguruma's > > >> > > greatest advantage over PCRE2 is that it supports other characte= r > > >> > > encodings than Unicode and ANSI, so deprecating mbregex might be= a > > >> > > problem for some users. > > > > > > > > > Which users, exactly? > > > > > > Where in the wild are people using something other than ANSI, Unicode= , > and UTF-8? > > > > > > Been 10 year since I was involved with a system reliant on > Windows-1252, and the first thing I did after getting hired was to conver= t > it to UTF-8 > > > (Norway, a system written in PHP requiring =C3=A6=C3=B8=C3=A5=C3=86= =C3=98=C3=85 support running on > Windows-1252~) > > > > I found this example on Wikipedia view-source:https://kakaku.com/ > > https://kakaku.com/ Wow, you're right, kakaku.com really does run on shift_jis. Neat. ( Kakaku.com runs on C-sharp and ASP.net, not PHP, though: https://kakaku-techblog.com/entry/compare-rust-with-csharp ) > Hi > I explain why create mb_onig package. > > First, many users reported depends on Oniguruma and mbregex. > For example, Phiki https://github.com/phikiphp/phiki users reported. > https://github.com/php/php-src/pull/19258#issuecomment-3249570139 > In Wikipedia, we can see many depends on Oniguruma. > https://en.wikipedia.org/wiki/Oniguruma > > Second, FreeBSD supports end Oniguruma in Dec 2026(this year). > https://github.com/php/php-src/pull/19258#issuecomment-3506659061 > > Therefore, FreeBSD can't compile mbregex after Dec 2026. > I want to avoid it. > > > > Been 10 year since I was involved with a system reliant on > Windows-1252, and the first thing I did after getting hired was to conver= t > it to UTF-8 > This point is good perspective, Not opensource products maybe depends > mbregex in old codes. > It is maintenance very long time.(My company products depends mbregex) > > So I want to maintenance Oniguruma and mbregex other way. > My solution(mb_onig) is one way. > > Regards > Yuya > > -- > --------------------------- > Yuya Hamada (tekimen) > - https://tekitoh-memdhoi.info > - https://github.com/youkidearitai > ----------------------------- > I see. Wish you the best of luck. --0000000000004f1d48064d5678b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, 17 Mar = 2026 at 20:55, youkidearitai <youkidearitai@gmail.com> wrote:
2026=E5=B9=B43=E6=9C=8818=E6=97=A5(=E6=B0=B4) 2:31 = Kamil Tekiela <tekiela246@gmail.com>:
>
> On Tue, 17 Mar 2026 at 17:07, Hans Henrik Bergan <divinity76@gmail.com> wrote= :
> >
> >
> >
> > On Tue, 17 Mar 2026 at 09:43, youkidearitai <youkidearitai@gmail.com>= wrote:
> >>
> >> 2025=E5=B9=B48=E6=9C=8826=E6=97=A5(=E7=81=AB) 19:15 Derick Re= thans <derick@php.ne= t>:
> >> >
> >> > On Mon, 25 Aug 2025, Christoph M. Becker wrote:
> >> >
> >> > > On 25.08.2025 at 09:26, youkidearitai wrote:
> >> > >
> >> > > > I improvement this RFC. https://w= iki.php.net/rfc/eol-oniguruma
> >> > > >
> >> > > > Added more information about maintenance versi= ons. What do you think
> >> > > > about Oniguruma maintenance ended. Please watc= h and feel free to
> >> > > > comment.
> >> > >
> >> > > First, thank you for caring about this!=C2=A0 I agr= ee that we need a long
> >> > > term solution for this issue.=C2=A0 As I understand= it, Oniguruma's
> >> > > greatest advantage over PCRE2 is that it supports o= ther character
> >> > > encodings than Unicode and ANSI, so deprecating mbr= egex might be a
> >> > > problem for some users.
> >
> >
> > Which users, exactly?
> >
> > Where in the wild are people using something other than ANSI, Uni= code, and UTF-8?
> >
> > Been 10 year since I was involved with a system reliant on Window= s-1252, and the first thing I did after getting hired was to convert it to = UTF-8
> > (Norway, a system written in PHP requiring =C3=A6=C3=B8=C3=A5=C3= =86=C3=98=C3=85 support running on Windows-1252~)
>
> I found this example on Wikipedia view-source:https://kakaku.com/
> h= ttps://kakaku.com/

Wow, you're= right, kakaku.com really does run on shi= ft_jis. Neat. ( Kakaku.com runs on C-sharp and ASP.net, not PHP, though: https:= //kakaku-techblog.com/entry/compare-rust-with-csharp )
= =C2=A0
Hi
I explain why create mb_onig package.

First, many users reported depends on Oniguruma and mbregex.
For example, Phiki https://github.com/phikiphp/phiki users repo= rted.
https://github.com/php/php-src/pull= /19258#issuecomment-3249570139
In Wikipedia, we can see many depends on Oniguruma.
https://en.wikipedia.org/wiki/Oniguruma

Second, FreeBSD supports end Oniguruma in Dec 2026(this year).
https://github.com/php/php-src/pull= /19258#issuecomment-3506659061

Therefore, FreeBSD can't compile mbregex after Dec 2026.
I want to avoid it.

> > Been 10 year since I was involved with a system reliant on Window= s-1252, and the first thing I did after getting hired was to convert it to = UTF-8
This point is good perspective, Not opensource products maybe depends
mbregex in old codes.
It is maintenance very long time.(My company products depends mbregex)

So I want to maintenance Oniguruma and mbregex other way.
My solution(mb_onig) is one way.

Regards
Yuya

--
---------------------------
Yuya Hamada (tekimen)
- https://tekitoh-memdhoi.info
- https://github.com/youkidearitai
-----------------------------

I see. Wi= sh you the best of luck.
--0000000000004f1d48064d5678b0--