Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118689 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 92148 invoked from network); 22 Sep 2022 17:50:14 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Sep 2022 17:50:14 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9F564180380 for ; Thu, 22 Sep 2022 10:50:13 -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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS29838 64.147.123.0/24 X-Spam-Virus: No X-Envelope-From: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 ; Thu, 22 Sep 2022 10:50:13 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id EE488320051E for ; Thu, 22 Sep 2022 13:50:10 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute1.internal (MEProxy); Thu, 22 Sep 2022 13:50:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm2; t=1663869010; x=1663955410; bh=YCwQPkU2qvnyDHfP716QsKXRB DcukorIa8+uSfn5J1Q=; b=jmxSJzwLFiNmxHBBrv9hUCN8N4DDSDX7ruK3fSWa+ /+Gek5X76p+YnEcGih71hnOq3oWem8pQp9rRCKdg09qME3K/HYiyEnHU8jrJvP0f MnHlWydsAVe5kQ5T6aYhIDK9r3xFw+l46f1bosw3sP4Pf52JIRlmlWrsWZpf6Mwi tu+/0R2ZE6PCzqNH5xgAhWV2L7C9R8JDZkgG4wHCFzEY2nWRJ5ubs9ZKN+heTYAV jX4xASe8NHXWNFFi7TnZK0sMp6Q6c3Cn/WIc9OvkVYii+snrWvHimvIstV2/3ick GK6YvmInd+HNwyQcL10R7bocAGZud/O1j+GOX+Mh8IHlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1663869010; x=1663955410; bh=Y CwQPkU2qvnyDHfP716QsKXRBDcukorIa8+uSfn5J1Q=; b=MHeQ/Eo/z/6Q1jxwh xx2LM0HwF9zK9jbErSmhrM0acTHAYrKwHcNu8e5OH8IL/HkaQQ5PyZ4Zt5IGCnQW TfQqP97FmmcydCAwScyhrwpw2YALaDAWeq26U9iGEbaI/uQznTwMKKMaYX53Z4OT CW6j78uViDFXDlRDzL5tAigdsldveTkpAKUnce9me3qOJ1MqGXMTyC2ZDytf50KH TIqPjzMyJjJkcuxvW0mtH5yCjvGrvQsXHoHmYWmZ9NKWkJolhWFQaf9gh1Z5Nudd /qmiF5G01fB6um7ZXZbWnzoGOgLJsXliLxiwMgsongjlXT54X5gsseC2O9Pwb5OG MkxgA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefgedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfnfgr rhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtg homheqnecuggftrfgrthhtvghrnhepffffffejffdugfegvedviedttedvgfejffefffej leefjeetveehgefhhfdvgfelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhm X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 27C501700083; Thu, 22 Sep 2022 13:50:10 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-935-ge4ccd4c47b-fm-20220914.001-ge4ccd4c4 Mime-Version: 1.0 Message-ID: In-Reply-To: References: Date: Thu, 22 Sep 2022 12:47:57 -0500 To: "php internals" Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: Issues with readonly classes From: larry@garfieldtech.com ("Larry Garfield") On Tue, Sep 20, 2022, at 1:07 PM, Jordan LeDoux wrote: > On Sun, Sep 11, 2022 at 8:22 AM Larry Garfield > wrote: > >> >> >> Hm. I seem to recall during the discussion of readonly classes someo= ne >> saying that object properties of a readonly class had to also be read= only >> classes, which would render the above code a compile error. However,= I >> just checked and that is not in the RFC. Was it removed? Am I imagi= ning >> things? Anyone else know what I'm talking about? :-) >> >> --Larry Garfield >> >> > I remembered the same thing, and am similarly baffled. How did the RFC= pass > if you can do something as simple as `public readonly stdClass $var;`?= I > thought I followed the discussion on that RFC, but apparently I missed > something. I would have expected an example like above to block accept= ance > of the RFC. To be clear though, I'm mostly confused about what the > convincing argument about this was, or if it was something that everyo= ne > else viewed as an uncontroversial aspect? > > Jordan Does anyone else recall this? M=C3=A1t=C3=A9, are Jordan and I just ima= gining things? =20 --Larry Garfield