Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119388 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 39553 invoked from network); 20 Jan 2023 22:27:25 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Jan 2023 22:27:25 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EA6571801FD for ; Fri, 20 Jan 2023 14:27:24 -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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 20 Jan 2023 14:27:24 -0800 (PST) Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-1322d768ba7so7880838fac.5 for ; Fri, 20 Jan 2023 14:27:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oC0g59E3QTncSxKKw9OWkCnr+bZpwJDzzUMyHWKsm3Q=; b=o9TBk4TUjd8hBnt1CCR9yl+O/v93rdnDzIiXzzEBbVyXhncaKrfKnIHFrI6A73pQPn nNqu62J64rVP42WsyB1rR7KslC1ieTAxbPOkqSnA/uy2R37ntqeQMQkFC7i0g1HEiOG7 kEp0nT9deAsoGE6EK5XkS2oVeon3Fas+h37BrjHQ3nkllqk/jEfw7163cRONrkGBxtBL j3H/sr7ZcQ4MGMTUk1gmorgPM6sj0Bq0KdUzts76JSsYlz7gJM8fNE8/qlQRryTRX6O4 qRZW/AMFyFNzNoSRIxuG3Mv8BhJZg36KcG3PhT3OSTW1Rrj1xDQHI5gDUufN3/8phzs3 017g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oC0g59E3QTncSxKKw9OWkCnr+bZpwJDzzUMyHWKsm3Q=; b=5vy0KXCdyNorvvTmbdrEWNSf2tUPO2K9f/1YZHi3u2AK1xpOiWCEzPTclB/FB0x/xO 3r/E5ZB8zriw12BBjMK1rNX2W79dy9y7Quzm940s4iYHEfJ1wk8Qg08zaikMyaiPloq4 LmTJzIyK+pryYwEtsRwdfvABlV5zQyZPkW3k+3gKilx+r53Vz89nwcNArKuoRVWkPaC0 4wG+EpYSBh6NgxI/WkVCHwYcTJv+2UZ65sjTgqx+QalIawka3f7BTd7hOk3Fgs++Ynxc ZxNZHYhAmweuzukY2y7l7LDyrQS+S+qEEOdt097cH6vDDzOCci6d7JYBuCpNyqBJCj2t EBwA== X-Gm-Message-State: AFqh2koffUq0W2YpM49YKWJ3QHDovc342ETfQectAE74H1yCi4laYf4y Kn/O6Pv68w4+GD6kAL5HCYG/MBiJrSqQHZ1hUCg= X-Google-Smtp-Source: AMrXdXsQTpaFafGt+VZkSW0xKERl1nmx8qDw3qgUxwCQVHo87wKbcxjiXnDH0pRVKei0c8CdNCAifXUGLSKA4yWHWyE= X-Received: by 2002:a05:6870:fc86:b0:132:6f79:9ffb with SMTP id ly6-20020a056870fc8600b001326f799ffbmr1391540oab.61.1674253643788; Fri, 20 Jan 2023 14:27:23 -0800 (PST) MIME-Version: 1.0 References: <2115758d-79e9-340e-ed7b-176dd0927c79@bastelstu.be> <7a9970d7-ae3a-a989-b22c-8d39d23e1c3b@bastelstu.be> In-Reply-To: <7a9970d7-ae3a-a989-b22c-8d39d23e1c3b@bastelstu.be> Date: Fri, 20 Jan 2023 23:27:12 +0100 Message-ID: To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: php internals Content-Type: multipart/alternative; boundary="000000000000b3b69a05f2b98d5c" Subject: Re: [PHP-DEV] [RFC] [Discussion] Readonly class amendments From: kocsismate90@gmail.com (=?UTF-8?B?TcOhdMOpIEtvY3Npcw==?=) --000000000000b3b69a05f2b98d5c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey Tim, Thank you. It would probably make sense to create a separate copy of the > current version of the branch, possibly creating separate PR and then to > drop the unrelated commits from #9497 - or alternatively picking the > first 4 commits and creating a new clean PR from that. The latter is > probably preferable. There's a large number of comments in the PR itself > that do not relate to the feature-as-proposed-in-the-RFC. > OK, I've just splitted the implementation of the two functionalities, and submitted https://github.com/php/php-src/pull/10389, containing only the related changes. I'm seeing that Nicolas already spelled out the unset() part in > __clone(), but I think it would also be useful to have that within the > example code. It's more easily missed in text. Examples are cheap :-) > I've also changed the example to include the unset case as well. :) Best regards M=C3=A1t=C3=A9 --000000000000b3b69a05f2b98d5c--