Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116432 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 64341 invoked from network); 16 Nov 2021 23:34:47 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Nov 2021 23:34:47 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D8B481804F2 for ; Tue, 16 Nov 2021 16:29:51 -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_40,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-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (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 16:29:48 -0800 (PST) Received: by mail-pj1-f47.google.com with SMTP id h24so853378pjq.2 for ; Tue, 16 Nov 2021 16:29:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NyCwl/wjMPQ+9bAkpJatXeSummdO/NSpDpO3Tkmvn7Q=; b=TSp4povjIaTP2ENfVqY8AEvWUdSbSs4956zZXVwcBaJ6y+NGN4u4l8VED8RpRMO5YZ JF+mSp0UQtDAaNi/s79jaRpW+iChjS+z8905smf6lUMvLWJqsFKhmFWkihwh4TlFQ9xc RtIZWpc1FEvqy4IYZmnJ3BQFwmSfxC3ZSnZjqdrPlF3XCv0b6QA/t0Sy3X4k6EZ3nN+z nhUyE3sz5aodRjfkDeFlZc1/OCmZ240VngRht4ylBRLpusYhBDMTLfe37jj0uWdLTavq 8+Z8iLUAe3jzoHh939MAnsGRDcObBHwlxRVuaKvZPaf4FmMTWs++UHVz6sOWd8CBYudM VCJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NyCwl/wjMPQ+9bAkpJatXeSummdO/NSpDpO3Tkmvn7Q=; b=eZ7AAXmci2bYcm+R7TrKlpncXVwGGG8W0CLzwE/9AxOq++vH+FNUS6zH0GSCWXrYc0 ofSwkUboiRtY5RowQ7FVV9a+TUXWAWhNFnQSAE/qD7tWHEo52mGVH18XzQrYGlm0JIHe TdNXQD5cY+QM5nMpIVCragT6CZdwzED9fubkhQ9OeuY4PxH3jmYWGCtYir/kWfaWCwH/ bHDpW+HMTKqg4+u4iLrxZSa1ge4SWPkf2EnRpY3E+wthrGNErMJVzDP2yZ3g8PVPL0OA DntsJCvwe6/serjIrh1hTy1X2IPkK6L2brlamS9hmCa5Py+eM1Ho1CwF57fUcZzkagvn ttRA== X-Gm-Message-State: AOAM530xrgacFLgj248R2y/pR37vtM4tlDRQWgkXudwjf4tJRGLGY9iT qONbFQFTO3L9Juq1/K3tVyo= X-Google-Smtp-Source: ABdhPJw8tFZvV6VVZssOyhawJCQegTiF5R7V7EAwx9GaUnd4Yk23sobWPm4e8y+JycclWRzEcBwi6Q== X-Received: by 2002:a17:90b:4ad1:: with SMTP id mh17mr4161761pjb.33.1637108987087; Tue, 16 Nov 2021 16:29:47 -0800 (PST) Received: from smtpclient.apple ([2605:8d80:481:8843:742c:f3f5:dcbd:95e1]) by smtp.gmail.com with ESMTPSA id d3sm10009952pfv.57.2021.11.16.16.29.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Nov 2021 16:29:46 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) In-Reply-To: Date: Tue, 16 Nov 2021 16:29:45 -0800 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Sara Golemon X-Mailer: Apple Mail (2.3654.120.0.1.13) Subject: Re: [PHP-DEV] [VOTE] Deprecate dynamic properties From: tobias.nyholm@gmail.com (Tobias Nyholm) Thank you Sara! I could not agree more with you. I think this answers to most tweets and = messages that I=E2=80=99ve seen the past few weeks.=20 // Tobias > On 16 Nov 2021, at 14:20, Sara Golemon wrote: >=20 > Serious questions for all the folks worried that this is some kind of = death > nail for PHP. >=20 > 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? >=20 > 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. >=20 > 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. >=20 > -Sara >=20 > * Not counting uses of stdClass which is going to implicitly have this > attribute.