Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116397 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 43889 invoked from network); 15 Nov 2021 22:41:27 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Nov 2021 22:41:27 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9C0ED18053C for ; Mon, 15 Nov 2021 15:36:16 -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=-0.2 required=5.0 tests=BAYES_20,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-vk1-f175.google.com (mail-vk1-f175.google.com [209.85.221.175]) (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 ; Mon, 15 Nov 2021 15:36:16 -0800 (PST) Received: by mail-vk1-f175.google.com with SMTP id u68so2838801vke.11 for ; Mon, 15 Nov 2021 15:36:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Bw4FNrFnrrWrXyah9CCZ+wCCFn13E0W0zm0kx09y2ts=; b=NZPz58Ib48N88ym2KzmqIvqQ091VsSiiflkNQG5vQEK0oK8iF2CJyMf6+n9RD/xhZR +D3zkgdvh9FEgkDjccCazF0fEzx7WTmo5CXrs682OLv298iEsZvdnU3xH8ToD0sFYl/7 dvseXkt4WiOaCRrI/rqHTmP2WNkc6peSELKK1vKHMiTlbIXpQedemgBhclFdAMS9RcrV U/TotiEv0U8EJx3GIBhacSwM5Cqa26ev9SXtGyHIotHpuNBCK0451cLeKHf+PgUa8iu4 iMHn7nMwDoFoCpXm4iGxE1HzL8hlxWf3/GFl5dZwipQGqVNa5VtWfx+MKgyrJwLX6lqV 0i6g== 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=Bw4FNrFnrrWrXyah9CCZ+wCCFn13E0W0zm0kx09y2ts=; b=vWPAZfnCtFzNjAPfzvaqNVYlXwc6GSfKszN+o9a9MydaTXYA164Lpz26UM+CtGGAb2 +N6bSkNwBL9eCjMQ08jA0h1TJLgjnJ74hoaJoSNdIR3S1wnplQDKTCehF16pEb+dNhtN h51am4FPa3GcjoMHcCzXilTgLQ9PXaR0k7w4avT2Gx1qVyIDlF4iPK6iwxdwLovEE+lG 6UTsxt/rkFA8U7j1DMcjQxZJ1jx0YMI1zWrnc+CciKB+hG5tIu2bMRIO5irFxiJTij4y tT937pOBxVpzyC8MqCT9FcMXu7d9bqrtIr9QCBK0X4fXusX8/ZBepn8V36uky/3SnWNy +Yww== X-Gm-Message-State: AOAM533I+OfpjMQxmM5SLoY2SJ3DSC1sS6AoKZqaz6w3ylzKWMMynSZ4 P4UfUl244zU1Poo8Nnzdkwf4kn/2Ids/YrFG18+bp7qyzhE= X-Google-Smtp-Source: ABdhPJyv6VcLwW1SOVg3v6VH/Fb0ul18kjL2g6f8kSqH3bR0sLP9nCFV5rNV2CWZYHPnD2GzgozaLxEUUnkYWfZkrjk= X-Received: by 2002:a05:6122:884:: with SMTP id 4mr65384683vkf.6.1637019375571; Mon, 15 Nov 2021 15:36:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 15 Nov 2021 18:36:04 -0500 Message-ID: To: Chase Peeler Cc: Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary="0000000000005f165905d0dc4618" Subject: Re: [PHP-DEV] [VOTE] Deprecate dynamic properties From: matthewmatthew@gmail.com (Matthew Brown) --0000000000005f165905d0dc4618 Content-Type: text/plain; charset="UTF-8" On Mon, 15 Nov 2021 at 17:32, Chase Peeler wrote: > > > On Mon, Nov 15, 2021 at 4:40 PM Matthew Brown > wrote: > > >> I encourage people to vote "yes" on this, if you want PHP to be better at >> preventing people from shooting themselves in the foot. > > > What if I want a language where people can shoot themselves in the foot > because the flexibility it offers is what makes it great > I don't think this particular feature makes PHP great, and I don't think the active PHP community thinks that either. I know there are >> valid uses for this, but it's nevertheless a surprising feature, and not >> one that delights many PHP developers. > > > Why is this surprising? It's been available since classes were introduced > to PHP. > Not everyone who uses PHP has been using it since time immemorial. Some of us came from compiled languages where this behaviour is expressly prohibited, while others are used to interpreted languages that also prohibit this behaviour. This is what I mean by surprising: I have heard newcomers express literal surprise when discovering this for the first time, and not in a delighted way. Best wishes, Matt --0000000000005f165905d0dc4618--