Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128100 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 8516A1A00BC for ; Fri, 18 Jul 2025 00:38:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752799025; bh=H+2pgPauit+RCh8qIA6skFpHQ4vSNgfszNibk7hDJk8=; h=References:In-Reply-To:From:Date:Subject:To:From; b=AqnIDdFROK+oIB7zTAk8G1jnGwTwtfX3kMtwvoFDRjL9scbfUjjIu5O3qGlpK288U u/j6u+ohv5sDTszW2jOO/+uFSeEwDGq/rdOXEI5WUJnPEnmaniBs5MklwMkJQWDCQx x6DrfXBmcM1X3nNG2mZn898JSIw6E1YYVcKaBm31khEZ6V9OpDT2RKI1K1r5GW3Q9H 8X8fRz/QZ8E9h/gGmq2l9MwfQ5fHTlVvNA0a+Vq/eW2r3x2qyl5h+ycjtcB8M4i0Xa NnhVFBBlZ8SbNkkYcP2VqbLAsnfEBayh3LD3kbn+2bHfAM1wJXXtu5vBMia2dMsTrG oKqXI95WyWm6w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7135B18006A for ; Fri, 18 Jul 2025 00:37:04 +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.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 ; Fri, 18 Jul 2025 00:37:04 +0000 (UTC) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3a5257748e1so948579f8f.2 for ; Thu, 17 Jul 2025 17:38:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752799130; x=1753403930; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=H+2pgPauit+RCh8qIA6skFpHQ4vSNgfszNibk7hDJk8=; b=fw9efQO8YX9QPvGGJHvPG2LVWhJ7PPlRfzodB0GOMrhzZGEXE9GTZLpUQkDnKJ5PmA MbA5+fIuPja1DU3bXtf6XQM+hNFgMU98RQbw61J2NJAxSlx3/oFwnsfHpFIxhkvxS9fV Pn12UXempsJbYjMpZMnt/+U4136S7neQJCGwzFgFhUVSRMC57JHKCX0XFS4OvGzX7deg tfdSE+Tnh6c2Eu6HZv1wmB087oxJpbk+VEy9b5FVR5NeWw0tBCRAx6uAK+Xhb9HyNX2J i4tu8iW0jYsmzU+tFHYjwX9ayZ0LuVdUCMyq0KsUv08mJE12H+sYc+UyjgkFCl91bWco Ez6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752799130; x=1753403930; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H+2pgPauit+RCh8qIA6skFpHQ4vSNgfszNibk7hDJk8=; b=CSMC4mpxs2pXjN9u3G34PyVcxKVxKdF8xyRkb4HEVrOD46YfwWfK4o3YxFSJylyrWM HYV0bDLKpXQshs5joFbKpVusyu8+7lwTJVCnq+SXSEN1wYXGAKQGiRLLIUE3/R9SLRBX P2vLwwK+NylwemC4yyqd2n5NSrOoXsTCqyvEdLA0QO8ZsiGAzbhM5BdQY9gTJ6QFJgiq b5QfAERlgYiiC6shBNwfBSP29qsTY+cO8QyGefo5WdVZbSRH0KAb2A3gvjmz5ociQEa6 xxD04ez7s5hUCUvoDWbss+LsUolepHPGrAq9QTKGc8LjX7T6yl5uaVcst1gxnNBqW7nm 413g== X-Gm-Message-State: AOJu0Ywn2/aOJbgtJ0guYk5u+skTCOJ8hcOuylsQPjzUIQ8uUOEFHKVO 9hy/Zk0tdoe4ZDWYUe6X70tKqtiOOv4jfrWN+4X1EguJ8SbazsTcvcWkn9zORgLxw14IcKCi5YJ yhkrYrOQsye2ymklkm0VzyfmI5INcoh00Sns= X-Gm-Gg: ASbGncujq08RvUwf/cGwJ85lFummTLIJQMZJFzyuaXbJpnRJ9s3d1FQ2wD8BZ2t7jkM eGOySOohLbAkeqMKTIqKxrIE6zkkS5utZMyVKTm1ZnEbe+2xC7ez0IFtkEAY7EJnC3ta+SwkQNJ t8cCuhOQbM6pHeDafzSHZ1issp6V4mDpZcQXYZt1JQbJ28EYDkkx8SFlDN164NQNiEGS3DhUbkM mHx3g== X-Google-Smtp-Source: AGHT+IGfz3zWab+cVxF/CYV+tct6roXdH5o1a2vSerA6iZoelO/Jlte6YZ3gHQMfnHtwNWj0Nzuhgv2h8Vrf5zQO1g8= X-Received: by 2002:a5d:588f:0:b0:3b4:990a:a0d6 with SMTP id ffacd0b85a97d-3b60e4ec65dmr6279097f8f.19.1752799129488; Thu, 17 Jul 2025 17:38:49 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <3c1e3111-32cd-4f2b-a525-e013e5b905cf@gmail.com> In-Reply-To: Date: Fri, 18 Jul 2025 09:38:37 +0900 X-Gm-Features: Ac12FXy2OzZM_XM7Kv6KafCqaFBQWHRjtIUDjarWT23FZ6P2JgBelgwLaC5DVTw Message-ID: Subject: Re: [PHP-DEV] Oniguruma maintenance was ended on 2025-04-24 To: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: youkidearitai@gmail.com (youkidearitai) 2025=E5=B9=B47=E6=9C=8816=E6=97=A5(=E6=B0=B4) 21:37 Jakub Zelenka : > > On Tue, Jul 15, 2025 at 6:44=E2=80=AFPM Niels Dossche wrote: >> >> On 15/07/2025 09:26, youkidearitai wrote: >> > 2025=E5=B9=B46=E6=9C=8819=E6=97=A5(=E6=9C=A8) 3:45 Peter Kokot : >> >> >> >> What about bundling Oniguruma to php-src/ext/mbstring/oniguruma again= as it once was already? This would make development easier to be located i= nside php-src. However, everything put inside php-src has a questionable fu= ture on its own. For example, to be buildable as a standalone library and u= sed elsewhere. >> > >> > Hi, >> > >> > Surely, I think make sense to be include inside php-src. >> > From GitHub comment >> > (https://github.com/php/php-src/issues/18467#issuecomment-3044192511), >> > FreeBSD will end to maintenance Oniguruma in 2026-12-01. >> > >> > Therefore, I think re-include Oniguruma inside php-src. >> > >> > Is require an RFC if re-include Oniguruma? >> >> Hi >> >> Yes. >> >> This also won't solve the problem. >> The problem is that Oniguruma is currently not maintained, not that it's= unavailable. Bundling the library inside PHP does not solve that maintenan= ce problem. > > > Well bundling effectively means that PHP teams is responsible for fixing = (at least the security) issues. So in some way it solves the problem for us= ers. The question is whether the maintenance burden that it adds is worth i= t. > > Kind regards, > > Jakub Hi, all Thanks for response. Niels, Peter I see. We dropped many extensions abandonment libraries in the past. Maybe Oniguruma(mbregex) drop is make sense. > Considering that (I hope/think) most developers have moved to UTF-8 for t= heir encoding Yes, Derick. I hope that we are moving forward to Unicode too. > how useful is it to have a separate (and > not-comptible-with-PCRE) regular expression engine still? I don't know how useful is Oniguruma(mbregex). But seems many uses it. https://github.com/search?q=3Dmb_ereg+language%3APHP&type=3Dcode&l=3DPHP Anyway, I agree simple regex engine, Only PCRE. Jakub > Well bundling effectively means that PHP teams is responsible for fixing = (at least the security) issues. Yes, that's right. Therefore, I said ambiguous my position(drop support mbregex or still support in re-include Oniguruma). However, I want to support PCRE and drop support mbregex. Regards (Sorry for the weird way to respond) Yuya -- --------------------------- Yuya Hamada (tekimen) - https://tekitoh-memdhoi.info - https://github.com/youkidearitai -----------------------------