Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126203 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 9526E1A00BD for ; Tue, 7 Jan 2025 18:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1736274889; bh=Sd4EfCfdrXQrFAFVxHJ670c2cjLjbf5KFZkrT72c55c=; h=Date:Subject:To:References:From:In-Reply-To:From; b=DFxdtjIJhaKD+KWK17/eOp81URIAvfQBWhCS+WdZT+QIUpSdnko5WrilelgLzCY94 /Q71WKpJPRQaTFYgNS10am7mIraVqJWEeiXesmAGlLAi99mzdl+pH3zTTT/Op56avt v5Wyhfx2bxmX0tpM77h1QIPH3rMhAyPDv2EiNfL+3H3LPLnm9rPVa1xkIM4uD2hBKM hoLOrvHgnafhkiyGU01IdMI49GzdOWEk/itEiKB940I9hAJcWjn6XR03Ya+C7mbKt0 KQm4dLEcDB+43KN6M4YwEDNduqFF0doCJe60wGG1RnHYOG/mMw+NKLAjGUbrtAkSsA 8e6UjNj2kT/Lw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8C5C618007B for ; Tue, 7 Jan 2025 18:34:48 +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=0.6 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.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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, 7 Jan 2025 18:34:48 +0000 (UTC) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4362f61757fso157776195e9.2 for ; Tue, 07 Jan 2025 10:37:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736275062; x=1736879862; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=L7ZKxjqJyT1hZ7dScNs/oL2/YmBvT6QioZm5EFuisR0=; b=Ps+ABjIxW0DQrvxrFAkoUDV1ythfgMxJC9N1Yb7p1puygWN4Jeqh00oftamImgtqaA DWDtOqM2kysH5cuNXfantjYt+vR0pErdVFggqj0hkkexNN276WOK7/88hYG3EAh0nnQx XLu5wHIuoCtXyyVzGrbalqgucKqJf2hfINMwN6MHTndS31FiDWoZwwlHR5DT9JKgTTP/ nWoEoIS0Z2LARz2pLUqYPKTRDHVQ1A4PsTwcH+WrCjAoPi2KM9SBmksPB5xwS3XSA1Um RjqRtueEfxUs8lrCvyxTlrC00fJX0m28zRz0HiIfTdSZdLGtysBEVbSEI6JdnaxE92Ae MaSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736275062; x=1736879862; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L7ZKxjqJyT1hZ7dScNs/oL2/YmBvT6QioZm5EFuisR0=; b=t0dD5eafKEdhu3euCtMzkUf8tv6XNni5e9cxdzPET0FAUeX4OPR0dLN7GwZl++BwBo qKOQChiIwQ42jr9ColpBrrQXyNeDuIVRMs8sokwimTDcKk0imi8Elgn/8VBK8raVZL7A mmVZ0Hk9x4udUYkoWiwHsbjpFKAjIApWaDYX6vJcp6LpQjP1Pa7iMgzZwmkU4HgWQ27c HGCJEr+4f0bh+Nj176qQC/8oeST5mZxuri9vJvaWlBJwmVtyglORsatZZZ2C/nfe8BV6 obKJs7lGOR5unEPUVl5991eabRJST5HFGU/rVXphAUk0+xhLYLwTJtUo0jTuYJADuBkg hb5Q== X-Gm-Message-State: AOJu0YzuSVXJoSBiBOqocuOBPEVLbRRh+0ygbHKjU36BBzo+qsymKHk5 dQflT9RgnuPeXZXQED/61yTFBl2p+Q67fN/vNwWVhpsNgC1zvPU3JiKLxw== X-Gm-Gg: ASbGnctu6SEbIDN19UaAW1KJe7aBVX5TYPDlnDGo6D1YMitsrZL/GCknqILQPrPQ3kT J3B3WYBeNT1VzeLR7+1ewFyfJ9mxWg3lgCqWLx8sJSjVpKKmTBpEafUwbdJNhK9WvZbCk/ViyWJ p0ZN34cEjVYSRTVTGGbCbuRane5j056EgrJ9ZwvzEyZHyK4xmewCHzluFQNxDawQsfOyz+8rRVN NfmxfBLX+9j6RONNdaupAP+WQrauLSrmZlzhIdDZssIq9h1uthsI+Y60ikh9b04nejZDe89oUbN 1bqPTmV3WtJ7VME04ru5CQVGxdOYh/5pDgTd1IwZf8vgrXKLiWW5o4mKoWYiKuASbxaDvPdglXL sTqGrP00Jp1PVfqzVPtFI X-Google-Smtp-Source: AGHT+IHyQDTM/mt/CRlz1onHH1dEzMEyHTbWovfxmVn1CIMGA812ee+AxWv+KcjHLqd0ox0fnZGuXA== X-Received: by 2002:a05:600c:3150:b0:436:17e4:ad4c with SMTP id 5b1f17b1804b1-4366835ebefmr500472135e9.6.1736275061868; Tue, 07 Jan 2025 10:37:41 -0800 (PST) Received: from ?IPV6:2a02:1811:cd2f:3500:e093:fcad:4f6:e542? (ptr-du5vm7f5ekzptmf0fgi.18120a2.ip6.access.telenet.be. [2a02:1811:cd2f:3500:e093:fcad:4f6:e542]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4366121955fsm615011425e9.21.2025.01.07.10.37.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2025 10:37:41 -0800 (PST) Message-ID: Date: Tue, 7 Jan 2025 19:38:59 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] Static property asymmetric visibility To: internals@lists.php.net References: <0addc1b4-1e4d-45a9-a289-5f9a8e1da692@app.fastmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit From: dossche.niels@gmail.com (Niels Dossche) On 04/01/2025 00:14, Larry Garfield wrote: > On Mon, Nov 25, 2024, at 10:52 AM, Larry Garfield wrote: >> Static property asymmetric visibility was left out of the original RFC, >> because it seemed like it would be hard and of little use. Turns out, >> Ilija found a way to make it easy. (Ilija is smart.) So here's a >> small RFC to add aviz to static properties, because we can't think of a >> reason to NOT do so. >> >> https://wiki.php.net/rfc/static-aviz > > Heads up: Absent any other feedback, I'm going to call the vote on this RFC early next week. > > --Larry Garfield Hi I'm not sure how I feel about this. The current implementation actually uses a workaround because otherwise it interferes with cache slot merging. This creates duplicated code in the VM handlers. Although the complication is small, it still is one. And the complication may be duplicated in the future in the JIT. Workarounds/complications can be fine if having the feature is justifiable, but you said yourself that it seems of little use and the RFC text says it's just for completeness. So honestly, I'm conflicted and leaning towards voting "no". Kind regards Niels