Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116264 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11878 invoked from network); 12 Oct 2021 13:06:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Oct 2021 13:06:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 091BE18037E for ; Tue, 12 Oct 2021 06:52:55 -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=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (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, 12 Oct 2021 06:52:54 -0700 (PDT) Received: by mail-yb1-f182.google.com with SMTP id g6so46806833ybb.3 for ; Tue, 12 Oct 2021 06:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fZ9Gxox7uvRBRsIbD08zR87vH2RxfUdKNs2xDSgxR3s=; b=WSM9Ec9l54BFC36T8oOjIzqoFJPv/LW7c3TqfpO0wMyZXsz818qFSfRwv4vRMUqJHq fv68Ndl6e/fnI7JdJDFrLDBgp8slWE4ovdk2YbJA1zOWuP6k0vOv0ZzCS9TRAzzJLR7h GSgsg5fJCCPlXFHOfCRAxQ7iXxAt5qmZjzgA8= 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:cc; bh=fZ9Gxox7uvRBRsIbD08zR87vH2RxfUdKNs2xDSgxR3s=; b=Z+nO/LaqJYEV5JaHh4Bu3ldtuH+7DbMhiLQmPP7uBscPaT3ZwV+8iVrpStoeQFVMBI 7lmyPSTIpfctEkOrRLZKz0EMrtHD+Ejh3ac5AQi7+rgGhEmdjv5Zy4h3XrJCwkrH5Dah m84rUG+bux4QvLzaOopTZcTY74nOxqATmR5ge87h5d7rtRowK3If/RmM2OMXJz96eVss CFCt0RtHsZoH7YcXGiYLoVCotYlGzZDnOSShWEQ1uqlfsJMeGSzlS0b1aVjYebctAu8J iKfHx7rXwcK0RL0ZvVkWNZb9HQSCDCPfHBLVVqkWsL/Wz3GjTVuSY9dWbkVJpscbEk8e fnxA== X-Gm-Message-State: AOAM530XQrSTyi4j8VuVIpPej4LmWk8t096pnHgCFVRQpTnX1gNvGikW VYpa6InQdJcEdGO4m46GSYOKVqmwXE9eMIOfXoLeMl1wk0QpwtbN X-Google-Smtp-Source: ABdhPJykK9aV6gwhKGPqq5CwLr8B7gaRUrHw1ne4YXgC3u/SlJWeTLDPfUWnZSwzcQJelMdzcPcuO6YnlngvSJUp0dI= X-Received: by 2002:a25:e697:: with SMTP id d145mr26834766ybh.4.1634046773516; Tue, 12 Oct 2021 06:52:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: Levi Morrison Date: Tue, 12 Oct 2021 07:52:42 -0600 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Re: [RFC] Deprecate dynamic properties From: internals@lists.php.net ("Levi Morrison via internals") > Based on the received feedback, I've updated the RFC to instead provide an > #[AllowDynamicProperties] attribute as a way to opt-in to the use of > dynamic properties. As previously discussed, this won't allow us to > completely remove dynamic properties from the language model anymore, but > it will make the upgrade path smoother by avoiding multiple inheritance > issues. Quoting the updated RFC: > We may still wish to remove dynamic properties entirely at some later > point. Having the #[AllowDynamicProperties] attribute will make it much > easier to evaluate such a move, as it will be easier to analyze how much > and in what way dynamic properties are used in the ecosystem. But in this place it does not mention PHP 9.0. Other places still mention converting it to an error for PHP 9.0. Is that still the plan?