Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116428 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 46676 invoked from network); 16 Nov 2021 21:26:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Nov 2021 21:26:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9BA3D1804BD for ; Tue, 16 Nov 2021 14:21:11 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: **** X-Spam-Status: No, score=4.0 required=5.0 tests=BAYES_50, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_SOFTFAIL 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-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 16 Nov 2021 14:21:11 -0800 (PST) Received: by mail-lf1-f52.google.com with SMTP id l22so1437168lfg.7 for ; Tue, 16 Nov 2021 14:21:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=qqLJMds+CrRHE1Z2OC9iTjnUH9OL7au29C5Gr/kpsYg=; b=tgBxzEhRE9sgyU+RxlkLb+T+Z1LncNf/cLje6oo2nWdmVLoBPYrEldBQz94UdPFscY SDj1IesiWOQKpFO0k8uQvVmlRp8G2uwzYZvLbZ/otwrlZq2/5dDXQ8Y7SMVIb7foaKD7 w51mlgTNRVyMNxVfXJ66NMj/3W/S+APkSLW8iW+fM5HiR7BhdNBTgTCwnGIR/AcZr2r2 Xc9rOlTzT02eH/MdjPmWr66y54JLQFKpeysnKreVyqAByeDV2sQY8pFS+dIMhsvyJeAq tx7w5VHN6suhrd5E9v3LiYgSlrN4aV4m6Kpr15zmD3NM4x7sFw45xHfQt+uXW/XXt6wu XBkQ== X-Gm-Message-State: AOAM53010RZgFdu4zzzoyZIG9aBQm2cjNfRgJvp//9O2v1BO6T0yurMh xVBxqGg+CQ7NJieFxLTLd+t5L+zr2WJDelKINURI8tuVc5fdR2B6 X-Google-Smtp-Source: ABdhPJwl4AXC16r6icYtpi0atCV++BiXhaqOggCTZk3E6QsuqDo0+htSK+cP1+3GSNz0i0BgnE/fk+7d7IFDTLVnnx8= X-Received: by 2002:a05:6512:ea2:: with SMTP id bi34mr10069483lfb.12.1637101269196; Tue, 16 Nov 2021 14:21:09 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 16 Nov 2021 16:20:58 -0600 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000009cb4fd05d0ef578c" Subject: Re: [PHP-DEV] [VOTE] Deprecate dynamic properties From: pollita@php.net (Sara Golemon) --0000000000009cb4fd05d0ef578c Content-Type: text/plain; charset="UTF-8" Serious questions for all the folks worried that this is some kind of death nail for PHP. 1. Do you have code you're responsible for which uses dynamic properties so broadly that adding this attribute is a burden? 2. Do you know of real code in widespread use which uses dynamic properties so broadly that adding this attribute is a burden? All I see being bandied about are hypotheticals. So here's my answers: In my entire career (which granted, is only about half actually written IN php) I can point to exactly one class* which makes use of dynamic props and it would take me a hot minute to add the attribute and commit it to the repo (note: This code base is running on 5.x, so it doesn't need it, but it can handle the attribute all the same). I don't consider that hot minute to be problematic. For those wondering what's the point: Making the engine better is the point. We won't see the payoff in 8.2, or even 9.0, but by 10.0 we should be able to be in a better place and have a better engine out of it. -Sara * Not counting uses of stdClass which is going to implicitly have this attribute. --0000000000009cb4fd05d0ef578c--