Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104626 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 73571 invoked from network); 10 Mar 2019 22:43:04 -0000 Received: from unknown (HELO out2-smtp.messagingengine.com) (66.111.4.26) by pb1.pair.com with SMTP; 10 Mar 2019 22:43:04 -0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A678F21EEB for ; Sun, 10 Mar 2019 15:32:31 -0400 (EDT) Received: from imap26 ([10.202.2.76]) by compute7.internal (MEProxy); Sun, 10 Mar 2019 15:32:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=Crzb88RjHZYuTUErVFsXYFkmWkVSkQReVC9raTEAXBA=; b=68JQAadA faKk1iylL3UeHgfJ0keaiVkNHdnY7yJujub2GQPplgnF4GpoFQHEle87xqZKc3tU Vgh14VVGRCw1X0qo0bHgpC8MWCRjEdKzOK3kTED7NtAtmTuJkmLr/UCZdvhB6Gdr 77o/xJsGBLv7zaySvgNvMLyBcE9/ybXE9oqSjn8XYSzmfcT9CxcfvR5uizAJn9AK Sk8RGEfScgpAWwO+qQef43fBE8mUjfdav/5ni/PMQ2VgjU18AQcTmXTDvT+gFeZe Svl7RwnIn8uYtBdOtFmDEJRK0pvA4Xose/uPqOlURRCXVDllMu0/NK27roJpU4M2 OgQuqOLHeMdCMg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrgeeggdduvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgfkjghffffhvffutgfgsehtqh ertderreejnecuhfhrohhmpedfnfgrrhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhih sehgrghrfhhivghlughtvggthhdrtghomheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomhenucevlhhushhtvghrufhiiigv pedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 69C33B450D; Sun, 10 Mar 2019 15:32:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.5-925-g644bf8c-fmstable-20190228v5 X-Me-Personality: 10727885 Message-ID: In-Reply-To: References: <2c497732-96f8-3ef0-bc18-912220fbff4d@gmail.com> Date: Sun, 10 Mar 2019 15:32:30 -0400 To: internals@lists.php.net Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] RFC: Locked Classes From: larry@garfieldtech.com ("Larry Garfield") On Sun, Mar 10, 2019, at 1:52 PM, Marco Pivetta wrote: > Hi Rowan, >=20 > Overall good idea, except that I disagree with the `unset()` being > disabled: that bit is strictly required for lazy-loading purposes, and= > mostly harmless for userland ("normal" people don't do it, libraries d= o it). >=20 > Besides that (blocker for me), if this RFC would be enforced in my cod= ing > standards of choice =F0=9F=91=8D >=20 > Does anybody know if this has potential for engine optimizations? Marco, have you an example of such lazy-loading tricks? I'm not familia= r with them but would like to be... I'm overall +1 here as well, as I am for most things that allow me to ma= ke my code stricter and pickier. (I don't have a strong feeling on unse= t() either way.) --Larry Garfield