Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115875 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 79014 invoked from network); 27 Aug 2021 03:23:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Aug 2021 03:23:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 81B3A180504 for ; Thu, 26 Aug 2021 20:57:58 -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, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) (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 ; Thu, 26 Aug 2021 20:57:58 -0700 (PDT) Received: by mail-pj1-f49.google.com with SMTP id h1so3661619pjs.2 for ; Thu, 26 Aug 2021 20:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=S+9QqRG2bpMYge/xTg7PMQV90iZuspzRI0wVAJMJZoE=; b=VzZV1214KSFYeFAEvDlR4dib7sS5YNApU+6hbeU+/On2E45CWJT/0N2s8+ogLr9LL/ UvY4FL+o5F8MPUnBtgYq4pn7GYQAgBgpHz/NdgofM+I1MBYUD1Wo9RBjbGs51JwbQDdX wklq4MxZCfk+PX2TOmRf64G7u7JHFTTSTue2/Rgwx3v/vkJUKJ55ClZMfg/j65fDKoYZ znAvtvu4T+nMIZJvMWt+eYSoRfC/386Z59LUxceXqhGC9G1tHqm6yekk471dGjmre9wL 4g4FRCb3YiZVbmvIDAlP7mD7geT9PqSeHjryrTqQU/pNRVazQrkxYxlTX//BP6eRWrIA P5ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=S+9QqRG2bpMYge/xTg7PMQV90iZuspzRI0wVAJMJZoE=; b=VrEUtR36WvLK8TrTzTW5Y7TvJF2otif4fDTk6XE7aKS0dGxd5VFo9yo2xY9B2h1ZBO AA2SiZ6SvL4656g4IUq8GWR6Uoru45zVCipOqzB3h/NJlW/jYR3FSk9o7aT+3Ret0/QP ZDpnTC+YPY+77Gp6g/6aMoPlfl+wlCad+7PHkb7wk2f0CwHE9cdvT/HBonciVrUjFBz0 UHvgXvszsaawWtqv/jEH5jV5LqvK7r7T6mZQVvvDpC3BjTSkqGaNZljfySXf3I3ynBZZ bY86j1U3e9aLlh9vtE5gBJv22My+pvuQnJOc7WYCLsCVLTGlcBMzq/aVQhZclz8M5q0F KxVA== X-Gm-Message-State: AOAM5300B5s9pX/CEzcGbtr0UPMif1DATR7qFVOnShU/zSS8FjyGEOJR +4dW5Z8LaPkwKb65n6VmiLXPh6baOIKZcA== X-Google-Smtp-Source: ABdhPJzJ4iSx+bICxnjIwX8smZfKUzuzaJMDBg4SCx5Rt3LcJdppp82ZBJoE2mOvzPXq93ssNHMKcA== X-Received: by 2002:a17:90a:a0a:: with SMTP id o10mr8359892pjo.231.1630036673878; Thu, 26 Aug 2021 20:57:53 -0700 (PDT) Received: from smtpclient.apple (d75-155-218-116.bchsia.telus.net. [75.155.218.116]) by smtp.gmail.com with ESMTPSA id x73sm4699370pfc.98.2021.08.26.20.57.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Aug 2021 20:57:53 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) In-Reply-To: Date: Thu, 26 Aug 2021 20:56:26 -0700 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Pierre Joye X-Mailer: Apple Mail (2.3654.100.0.2.22) Subject: Re: [PHP-DEV] [RFC] Deprecate dynamic properties From: tobias.nyholm@gmail.com (Tobias Nyholm) Just giving my 2 cents:=20 > 2. Remove support for dynamic properties entirely.=20 I support this RFC and I like the end goal to be to remove the dynamic = properties entirely.=20 Dynamic properties are just confusing for beginners. =E2=80=9CThis is = how you declare properties, the scope, the type, name etc.. but you = don=E2=80=99t have too=E2=80=A6=E2=80=9D I also remember that I=E2=80=99ve fixed more than one bug because I = misspelled a property name.=20 I understand there will be an impact on legacy code but there is help to = find dynamic properties (static analysers) and there is also a clear = upgrade path.=20 // Tobias=