Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115818 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 91470 invoked from network); 25 Aug 2021 14:15:23 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Aug 2021 14:15:23 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D1015180510 for ; Wed, 25 Aug 2021 07:49:37 -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.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, 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-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 07:49:37 -0700 (PDT) Received: by mail-wm1-f46.google.com with SMTP id j17-20020a05600c1c1100b002e754875260so4753569wms.4 for ; Wed, 25 Aug 2021 07:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=kgUrelDNPXvD0Bbdglepk+U6a96LkUdXKUSBYUX/YcA=; b=u280vT/WBFtGbOfpoSwrGzxXqGNJbWqpSk5y6e2jMujIAxtDvdgpkJ0yBtjMopdcnt C9PTkdSPWVc3JNf2Rqp+5Y/jGDNqZPEDzHhZnDkggvTEwcCjBSmK4jzoPwXhHqL7/7mK zSzAVBRqADUATlmT46J9l2ePAkunDy6khwFrdrJwQfXY3HWYVmfeLI9rk4CKvKvk1S8p 2i06waef6hdwXxTe7c6AeEUiv33oBns7hWe8Cs8DZ1DTOa9UoaQHtb4AZbfjK4E7Vnuq KVdv71u8bfz4ITKsbPIPqMh+xoy4J/aNAZdUVudC6I7Dc2ihn9A9PCc48hlxK57GzR3u D2cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=kgUrelDNPXvD0Bbdglepk+U6a96LkUdXKUSBYUX/YcA=; b=L1zSZAQ3HQOF9n5QUhTnIAr9YuX4QUjTD3P1gyQHf9eM+2gO25AwtYh9PFPb1ov5S2 gXeqwJETSlknNGcJFLs8SK5DkuwsnPcq6qxH82QoZiBFkVdroFht7tD1LU/5ALImGefG PDIXzkgoALTF+fqIC44LjwtIUv9mv3Tc8Dt40uwRQzUydz2Eh0D1qStSpH3uceQE9Ln+ i5Dpf+D7okir5JLjoKi4IQlr2ZxY8vrb4JYhYfrE2yrroQe5SnBuJdTQWfMRNJyzCl2K wk4L6jiMoe8MfmhyqHkKEQyjOHCXq94Frwq9gN3T037hxqLWsPP2mq2KDjSxrc9u4wxA Ww5w== X-Gm-Message-State: AOAM531l+PCATcITNQb4/LJyymfoE6h+fYfCG0WkBEaHTFHSqlIVTwgD xRjGp/ZTlgKYs2k4hJqQjLTSCcgNRls= X-Google-Smtp-Source: ABdhPJxUYRvsjW3g+vzgpjEMqSqfjT7phQjK1lbLs50mQnXh3+hP3js6pD/l8ZUqH672uMhT2MOPhQ== X-Received: by 2002:a1c:1fc2:: with SMTP id f185mr9920195wmf.100.1629902973928; Wed, 25 Aug 2021 07:49:33 -0700 (PDT) Received: from [192.168.0.22] (cpc104104-brig22-2-0-cust548.3-3.cable.virginm.net. [82.10.58.37]) by smtp.googlemail.com with ESMTPSA id z11sm114332wrw.53.2021.08.25.07.49.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Aug 2021 07:49:33 -0700 (PDT) To: PHP internals References: <763725c0-870b-e8c4-054b-1ea0481ef877@gmail.com> Message-ID: Date: Wed, 25 Aug 2021 15:49:32 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [PHP-DEV] [RFC] Deprecate dynamic properties From: rowan.collins@gmail.com (Rowan Tommins) On 25/08/2021 15:00, Nikita Popov wrote: > I'm not sure it will have a big impact for this use-case though, > because using the new name would require polyfilling it, so I'd expect > people would stick to the old name in the foreseeable future... Not necessarily - it depends what versions you need to support, and what your migration strategy is. Since it's just a deprecation notice initially, you could support 8.1 and 8.2 on the same code base with no changes at all - that's what deprecation notices are for, to give a lead time before changes are mandatory. Once the code base no longer needed to support 8.1, "extends DynamicObject" could be added. For many code bases, that will be long before the feature is actually removed - for a private project, maybe as soon as it's on 8.2 in production. Regards, -- Rowan Tommins [IMSoP]