Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115801 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 56763 invoked from network); 25 Aug 2021 09:41:16 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Aug 2021 09:41:16 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7EE4A18050B for ; Wed, 25 Aug 2021 03:15:26 -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,FREEMAIL_FROM,HTML_MESSAGE, 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-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (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 ; Wed, 25 Aug 2021 03:15:26 -0700 (PDT) Received: by mail-io1-f48.google.com with SMTP id z1so30129009ioh.7 for ; Wed, 25 Aug 2021 03:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OJsYsdy6y2nydEm3iPjQAZXdF8egQ7UYkbHYr0/6rYM=; b=jqjzCiJjnIjDF0olFkkPmeBogliZLYCXVW/6OppHqVkQT1UVoaT2KcCanBTjRPJAAN OOkJURr66AqPBbxWV9JSVW/mA9rZ70rHIJsqmVGH8zkqvVn78qFSsvy6Wzbeva157hCw JGf/hcZqdv8Jdd1VGahKSkQ2Dq0Tiz9zloboL1CE8NNMlonKKOeMElCjan7w/X9xRBsc PEEAHHh8XYFPScLN2AYEzDb4mab/DcRiPDiaeqVpiNqomHvJUOESUQ+MX1JljO50g8fE cgWWEt2V88jCTx8ZPHtcfLunNrZeJLqV0m8iAudByA/mnIIYfWv7NhzDQgBSVgsWU/yU WYcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OJsYsdy6y2nydEm3iPjQAZXdF8egQ7UYkbHYr0/6rYM=; b=c1hv7klUMULvJPLZ9zL81DLc0g2cXdXgj/uIYP10tDly6zV+hWoSaFM/aY76dblBaT y6yn5TYtHXIVFjOfQIiB5G4HUZv8No9oibtGDTZPgmTCT5/zzk3qfxrBckFclch235ns ThoWr07Oyj5XohgmPECN9FcpF5SoDPjJVas2cgsgO7PVR/4kBbuhih5lqE2Rp5Yz2RCe mMd/5/lUbSmdkKB3QJFGqUnL1R/h9a1G/tPVqj0CC2h6qlsK5zVICLiquUl2yuFUwDlW kh/Jvpw4FVooM38pPnPpVqpftHSGRtdGh2+UI/DH7k+u5WzflwpNnI5rM/vdD44j7egW m1MA== X-Gm-Message-State: AOAM5332B5mnU8D2TjqSRJkpJPVCeEWeDj3xvUyE+imJ1orofzpE9wz5 MyRjD36ZogldByGTOucSLj0WgCo+rv0xzCCXV1M= X-Google-Smtp-Source: ABdhPJzMcxJ8jIiKwImOIKbFHR1Nwq8A+JN5XvUuwTzNv5Yf4PCuWhY7XrCduUcWARFNsCntMKjiXKJKlZd+kjLDH30= X-Received: by 2002:a05:6638:33a9:: with SMTP id h41mr22098599jav.86.1629886523278; Wed, 25 Aug 2021 03:15:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 25 Aug 2021 12:14:57 +0200 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000003e8a1905ca5f8770" Subject: Re: [PHP-DEV] [RFC] Deprecate dynamic properties From: kjarli@gmail.com (Lynn) --0000000000003e8a1905ca5f8770 Content-Type: text/plain; charset="UTF-8" On Wed, Aug 25, 2021 at 12:03 PM Nikita Popov wrote: > This RFC takes the more direct route of deprecating this functionality > entirely. I expect that this will have relatively little impact on modern > code (e.g. in Symfony I could fix the vast majority of deprecation warnings > with a three-line diff), but may have a big impact on legacy code that > doesn't declare properties at all. > The project I maintain is massive and it's full of code that implicitly defines properties. As long as the deprecations are clear, I'm 100% behind this proposal as it will finally give me leverage to fix the code base at some point in time. --0000000000003e8a1905ca5f8770--