Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112627 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 32291 invoked from network); 28 Dec 2020 20:50:00 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Dec 2020 20:50:00 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 630281804A7 for ; Mon, 28 Dec 2020 12:24:17 -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.2 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 28 Dec 2020 12:24:17 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 120665C00B2 for ; Mon, 28 Dec 2020 15:24:17 -0500 (EST) Received: from imap26 ([10.202.2.76]) by compute4.internal (MEProxy); Mon, 28 Dec 2020 15:24:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=tuG9MqZkWJsY6nsst3kRx3xVPB3ZY QS2KSbOAjGtnZk=; b=P7ZViuHI4kc1sX8XUtmNWmN/puDE10Fw5kpd33IAFugD2 +YSuD0HtvQ/qjkj7xXOcoc3DqfxKhgCvGtzJKlTBT6Vnkd7iXJn0+XLgyuwMUN6A 18nhFEQHBIw0GyvgUb1jC3s2viqogVcfc8VugO0VTjggiltweF669VRT/bRUP57V CI4oxBjXQTGTp7nfwdyfoXJTgK4YqHs0au6gdqm38RPc1VdGq07I5+G/AyCyAKzb Y3EPYFDNvXU/7k179WAZFNRWlgIZ6aVJ/KlWE+EEeyuiHotJQQUS+dMjMKjQMB1f QNu+V7UCnojZgdmsaJxyaKxYdlx9Y5n0BDpOnmliw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdduledgudeflecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgrrhhr hicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh eqnecuggftrfgrthhtvghrnhepjefhveehuddtjeffiefgvdelfefgueeihfduffduuedt hfduhefgteehudfgfeelnecuffhomhgrihhnpehpvggrkhgurdgtohhmnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhiesghgrrhhf ihgvlhguthgvtghhrdgtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id A986114200A2; Mon, 28 Dec 2020 15:24:16 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.1-61-gb52c239-fm-20201210.001-gb52c2396 Mime-Version: 1.0 Message-ID: <1d0abb04-4987-43a9-85bc-bccc3bd6be9a@www.fastmail.com> Date: Mon, 28 Dec 2020 14:23:56 -0600 To: "php internals" Content-Type: text/plain Subject: Analysis of property visibility, immutability, and cloning proposals From: larry@garfieldtech.com ("Larry Garfield") There's been a number of discussions of late around property visibility and how to make objects more immutable. Since it seems to have been well-received in the past, I decided to do a complete analysis and context of the various things that have been floated about recently. The full writeup is here: https://peakd.com/hive-168588/@crell/object-properties-and-immutability I hope it proves stimulating, at least of discussion and not naps. -- Larry Garfield larry@garfieldtech.com