Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126278 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 qa.php.net (Postfix) with ESMTPS id 961771A00BC for ; Tue, 4 Feb 2025 07:44:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1738654889; bh=xVVPjgo8GVLx26EcgWCmCzn8hMftngTz9QgLg2En1no=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=fHkA7xQDwHH8o0YTltM26kpJiNYd2ihjoaD9NDxYFqjrl09cwaOLGUtPFi3OGA2wK yPxoG//u2edhieC8+mMHZvVb9gBPOkVYTCLAz5i0jm3EkVLrNPkCSOiFO6E+u7dOWL IyDyzvU3BY+YzJGlQmo6nbj54A22lQWGFBpqlSExNrImg9DIOwwIxyANXqFXy9ldHs as49AGbytKJ3wyhe5aolNJFxyluQqIbumZbz/2Df45c1kTjCLSOLThftJaLM6TUC5T d2Tqhimzm+wXm/ibTeok6WOeUo991LD1tRon6vFZf7qJVkdPLe7kRyPD25SdtS9uY5 HgZWhjdB2X3PQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 51B51180079 for ; Tue, 4 Feb 2025 07:41:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 ; Tue, 4 Feb 2025 07:41:27 +0000 (UTC) Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4361f796586so60701405e9.3 for ; Mon, 03 Feb 2025 23:44:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738655052; x=1739259852; darn=lists.php.net; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=JzjQKXysvAdhEKYpsTNYoXO9RKXL90tlrAibmcIpezg=; b=QaLARnJKGJOuk6JpoVxgAO1+ZV0Xg7Yb5Grb91HQMnDlgP99GY12YEViEh2Uup4iDU wfpXfvSIU+iIstDNLL5PbbZWCR2NEFEZLHFq+P73c30E9EdTsZI/URaWxiyWzKCbiJ4d /x4CYDUW7CI61lC8G20Bw9gWTrKy2ttWGfd5wZmuFelDu+JYtZjAjsLbY1jZQsttYhiJ uly5t6M+O16Ju1iBXh3f1zKxLFjcs88hr0tZUMQ2Uhh7bxHYS2dYzQZROlH3SsPW/mWY iOVJBY1EZ2h9rFgY1rlDtKbX1HgaSUizrajXJaDtH//XFekmeEB41l0sFlUe3WoSn+lV 48kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738655052; x=1739259852; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JzjQKXysvAdhEKYpsTNYoXO9RKXL90tlrAibmcIpezg=; b=ce+/+QdiccB3jpAuoARWwgY/uavritBK5oHD74AX9R338kzW4wquqK2NggE/f3ktv1 CcTFvUETDW30B05cBkTBT0ClyIqBN9gIuLxVOi6ZsqiMKHwr5HXoDwR+MQYFEnts/fWq xXspPGGgZMONL2qiVviOP2qhtWX1CISUC2+hzjxP2cd6pVpTfxsqKFVRVEoMcrtgpyBy qnEAhRjmpEfokbX7sx9D8BK2N0AxaOJxxVkuJpANiqbqePvkEZxeqKLqgfpBDQGEsFU8 lIbkFnygz+nLGreasSWDsKDAoo6LqLOmjl2MMILn1MG79SPnXDfMQ8hgXQIyslBVx2s4 k0YA== X-Gm-Message-State: AOJu0Yyn8Ne0vWGfvE1U/GmWmrz/JOEEqSbIuXv9zt3ya9+U142HYC7T 3wX5OXegYTFhnNA33dYGFq35ESI/jLdwEd34DWt8+cXTL+ZHwfHq X-Gm-Gg: ASbGncvaBDJpsoFQx2up9cHWVGcbeM/QPIVulAtKK+1NNq2+wMV6TGGJOqn7oR0RDiq mUmtjSZzsseMFMGRfiY1YBThornfoUl9v56/R2QvekiiQAgbuffQl6StRKywKufgld+1AcXuNlN SJfVwqQKX+PG3Vne3Zrg8suDj8gcHePxaVkstBCEaCd/outWHsU7HH4olIUAiTh1FNGLTE5BVv0 PL1TRvZ/StSjDSbrGkC4MjVvDnTOoBtQYvX2gYB4BWsOueZtPQbIlzcZYU/psuWLoxn299qJyt3 fuMXZRGwUnN0hjEwTcZ3yVwbR8H0qysyLp+fswDG5iUAxCFBu/eOSbWvyg== X-Google-Smtp-Source: AGHT+IFk0zvLxzX12yv87+p+EX+xZN2C29HU/W+jv9zExlRL02hhVPDhhitMK6ocnAL6+eUiILoVxQ== X-Received: by 2002:a5d:5f56:0:b0:385:d7f9:f157 with SMTP id ffacd0b85a97d-38c51e957b9mr23446682f8f.36.1738655051353; Mon, 03 Feb 2025 23:44:11 -0800 (PST) Received: from smtpclient.apple (3611301-ch16866.twc1.net. [92.38.240.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38c5c1b5780sm15101503f8f.67.2025.02.03.23.44.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Feb 2025 23:44:10 -0800 (PST) X-Google-Original-From: Dmitry Derepko Message-ID: <99F2F71B-8BBA-449B-9FB4-54B1B608BB0A@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_695FCC09-5349-40E2-A5C3-73B5CA9150A1" Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.113.1.2\)) Subject: Re: [PHP-DEV] Empty subject in match and switch constructions Date: Tue, 4 Feb 2025 10:43:59 +0300 In-Reply-To: Cc: php internals To: Larry Garfield References: <2A357F88-BAF4-41DE-8646-6BBBF4EFF6F6@gmail.com> X-Mailer: Apple Mail (2.3826.400.113.1.2) From: xepozzd@gmail.com (Dmitry Derepko) --Apple-Mail=_695FCC09-5349-40E2-A5C3-73B5CA9150A1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, Larry! > On Feb 3, 2025, at 10:01=E2=80=AFAM, Larry Garfield = wrote: >=20 > On Sun, Feb 2, 2025, at 7:40 AM, Ilija Tovilo wrote: >> Hi Dmitrii >>=20 >> On Sun, Feb 2, 2025 at 1:05=E2=80=AFPM Dmitry Derepko = wrote: >>=20 >> https://wiki.php.net/rfc/short-match >> https://externals.io/message/112496 >=20 > Hi, author of that RFC here. Although there seemed to be interest for = it in the initial match() discussion, the stand-alone follow up was met = with a giant "meh", which is why I didn't pursue it further. I would = still be in favor of it, though, if it could get through internals. I'm = happy to have someone pick it up and run with it, or collaborate on = rebooting that RFC. (I'm pretty sure the patch for it actually worked, = at least it did at the time.) >=20 > --Larry Garfield It looks funny that I=E2=80=99m following in your steps with the RFC=E2=80= =99s didn=E2=80=99t go through =F0=9F=98=83 By the way, I=E2=80=99ve implemented empty match subject in a bit = different way: https://github.com/php/php-src/pull/17692 About the RFC. What=E2=80=99s the way to re-activate it?=20 Will you re-activate it? Do I need to create a new one referencing to this one? Can you share rights to edit the RFC and we can push it further = together? ---------- Best regards, Dmitrii Derepko. @xepozz= --Apple-Mail=_695FCC09-5349-40E2-A5C3-73B5CA9150A1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hi, Larry!

On Feb 3, 2025, at 10:01=E2=80=AFA= M, Larry Garfield <larry@garfieldtech.com> wrote:

On Sun, Feb 2, 2025, at 7:40 AM, Ilija = Tovilo wrote:
Hi Dmitrii

On Sun, Feb 2, 2025 at = 1:05=E2=80=AFPM Dmitry Derepko <xepozzd@gmail.com> = wrote:

https://wiki.php.net/rfc/short-match
https://externals.io= /message/112496

Hi, = author of that RFC here.  Although there seemed to be interest for = it in the initial match() discussion, the stand-alone follow up was met = with a giant "meh", which is why I didn't pursue it further.  I = would still be in favor of it, though, if it could get through = internals.  I'm happy to have someone pick it up and run with it, = or collaborate on rebooting that RFC.  (I'm pretty sure the patch = for it actually worked, at least it did at the time.)

--Larry = Garfield

It looks = funny that I=E2=80=99m following in your steps with the RFC=E2=80=99s = didn=E2=80=99t go through =F0=9F=98=83

By the = way, I=E2=80=99ve implemented empty match subject in a bit different = way: https://github.com/php/= php-src/pull/17692

About the RFC. What=E2=80=99= s the way to re-activate it? 
Will you re-activate = it?
Do I need to create a new one referencing to this = one?
Can you share rights to edit the RFC and we can push it = further together?

----------

Best = regards,
Dmitrii = Derepko.
@xepozz
= --Apple-Mail=_695FCC09-5349-40E2-A5C3-73B5CA9150A1--