Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120602 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 92717 invoked from network); 15 Jun 2023 23:41:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Jun 2023 23:41:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6F3A31804A7 for ; Thu, 15 Jun 2023 16:40:59 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 15 Jun 2023 16:40:58 -0700 (PDT) Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-4f4b2bc1565so5591e87.2 for ; Thu, 15 Jun 2023 16:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; t=1686872457; x=1689464457; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=oD0KrdvGgZ14pgstYRhm0LP4mN0h7bL5lQREoxsRyzg=; b=A2Yfn9CnvjsSU1DVMIqzbLFpi+Pqtws6EchZTTEJ6fH18gUS4+p9LZf+NyUg2tOFLd 9F/MbSUXU6nSlzwBPNBqHpQohl66Z7NGyruC4uALJIXjHQynmtpR8TD4UQshXBK4HxQl ic39bFXnp6aEbw4d1Fb9sSNpE09oaQ+Ddwc1w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686872457; x=1689464457; h=content-transfer-encoding:cc: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=oD0KrdvGgZ14pgstYRhm0LP4mN0h7bL5lQREoxsRyzg=; b=D45XLh/HcoynJHWY3bFJi6wqpOwM/yWk25t4AveRhXMeniiPJtWM4wCrDLB6aEwMBz niqZhN2RbiBsbDyLkvLf+lV+lKkWNzN03l7tRR5YuA+6TvIFTzB6uEVFXz/hbbqaDyLW J3aHy9SRw2bnBvD2ambHftn1YIKfPucqOeOmSoBzBMNkwpb4kzhlExACEGPU6CdUKTe/ uPWLdyLktUP9tCVQH7XT25Lh3Cg21QLYqZlNg27HQiEP3iXOXz4TArV8eLdvJagKSoIM SZpg8EGtvwQf8gNmQ5+3zuEjdSltDXkn4V4y263t5+ubC7s+U5BA6o+SoiXQXwaHcPIR sOxA== X-Gm-Message-State: AC+VfDyT2N/TBuZZjwx89Gi8DZsXATvfRr/I6mLnL7sQpkwBNWJ5aL0m BHmU1WG03VJ9PuqnKGc+mv+D2ixWbd6SUm2jQtvP4A== X-Google-Smtp-Source: ACHHUZ7ObE1zPKz4okpTh6dfJWCQ5uFg5jsEpHUfWUVwurYK4uxjNDVIVkVpZoBy/j5Q0EgUrT5TaR3um6QI+NnvH6g= X-Received: by 2002:a05:6512:32aa:b0:4f8:4f78:c89d with SMTP id q10-20020a05651232aa00b004f84f78c89dmr114491lfe.30.1686872456904; Thu, 15 Jun 2023 16:40:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: Levi Morrison Date: Thu, 15 Jun 2023 17:40:45 -0600 Message-ID: To: Ilija Tovilo Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Interface Default Methods From: internals@lists.php.net ("Levi Morrison via internals") On Thu, Jun 15, 2023 at 3:37=E2=80=AFPM Ilija Tovilo wrote: > > I am moving my RFC for interface default methods to discussion: > > https://wiki.php.net/rfc/interface-default-methods. > > The RFC doesn't mention default implementations for static methods. > I'm not sure there's a use case but it might make sense to explicitly > mention whether they are supported. Interesting point. I sometimes forget that `static` is allowed in interfaces. When I rebase the branch, I'll check it out. I assume it works at a technical level without issues. If that's true, then absent further evidence, I would say to allow it.