Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129619 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id E6DA51A00BC for ; Tue, 16 Dec 2025 10:13:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1765880024; bh=GVxmL5mzOaIeA9DjlBsNOU/e6mZ9Xst8u16oBUjo4Ag=; h=Date:Subject:To:References:From:In-Reply-To:From; b=EMUKiZS8DusF0P3ZiM/eu1YLymMDadd2EmoF4pSipAqLMG5nmez9KltRYJL9pgqPy B1mE5Xe3gCterd20cfb02YWibLTs9BW7RoDt2qSa+3V8eTaVGhpsosWzWH3KpxcVO+ qpvgHK/WRM3DDLhxCyEqgFeSUFi0egnEG+3W6OEQDXqQlglImwgAWoagyWyhTqQOwh ZJOZoV3GjxDOV9aoeiU5kyEebijxiYi8zDHsos9oTnuQwz3lBWNx2Ogf7T1eV8vuQ8 Es+xVpTkcjTmgHWlhrP8Sk4ZjT16CwDv6T+Nw72XD3UN9l9PWFq3G6974QEkDXPQ5o m6EBkHH7pxNqA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0404718003E for ; Tue, 16 Dec 2025 10:13:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from jessie.smtp.mailx.hosts.net.nz (jessie.smtp.mailx.hosts.net.nz [43.245.52.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 16 Dec 2025 10:13:41 +0000 (UTC) Received: from 122-57-27-239-adsl.sparkbb.co.nz ([122.57.27.239] helo=[192.168.1.67]) by jessie.smtp.mailx.hosts.net.nz with esmtpsa authed as varteg.nz (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim 4.96) (envelope-from ) id 1vVS3c-00DinP-2o for internals@lists.php.net; Tue, 16 Dec 2025 23:13:28 +1300 Message-ID: Date: Tue, 16 Dec 2025 23:13:19 +1300 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] Context Managers To: internals@lists.php.net References: <70A79513-5503-467E-BC6F-2B0494A3EBB9@benramsey.com> Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Hosts-DKIM-Check: none From: weedpacket@varteg.nz (Morgan) On 2025-12-16 21:08, Rowan Tommins [IMSoP] wrote: > > My favourite among my own suggestions was "using($cValue from new CM())", but Larry didn't like the reversed order. I also suggested 'using(new CM() for $cValue)", but I don't think that's as clear. > > Perhaps there is some other word we can use? I suspect it would not need to be fully reserved, as it's used in a very restricted context. > I guess a symmetric counterpart to using "from" would give "using(new CM() to $cValue)". Maybe "into".