Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127988 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 C3BD01A00BC for ; Thu, 10 Jul 2025 10:38:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752143771; bh=PplTcW+g3LLWsTz/kQZrVANsqgXAANywoAEVtrfJNvg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LjKoRZesTi3Hcr1Kwpn0DXBrjh5U2RqDSJdtxv/MW8W78b1iLKSwPRy7A9xcal6YR W14iOZukT97xq2YIKjfbWJKG8k8PkB5b9QNHWsE+ORuFAe6iswa1etuQfgHdR365rt WAcdjE6FTAiEp78aUg+tbP0zwdEAnG8SZk9YT0SiKqryIKiRLqCPiyG2ulgZG5IUVE 2m97pEKNt+O1m7k5MwThYK4ipnY+oqb2AMRoUZmNYnukOZW5pydyAFi1hXVZhg61Vg TeisaMllqNFxQZP+0the3lK2ppBq2NAaSY3PbdhMUfF16LktJFy2Z4oufYPnmej3bo XTBhmqTMnu5/g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4ECEF180069 for ; Thu, 10 Jul 2025 10:36:10 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 10 Jul 2025 10:36:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1752143877; bh=lgY9Aqet2JLeSo7UiaglOLQ/62qhmn8LoPSiEpXIBew=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=lKf6D+kWbnJjCPxuhNbKt6sqgSkVnbId5MU+I1fQ6qP9i/FWrVwLtVIsHHPxipbMc oqLFvSnHSqIqVb7p0uv4SSqfq9D2v4CkvdF3PEXikW7T05t1hcXkCTcJW+wPjeY7ee /Ew6yzj2M40+nSQOrOdlRFngZCEVy1sWdy6QtwuRZ97mCgEDbV3HqlWQ3k+A6SzFMo An56rDM3Hj6rCKkunnNi4bXC9J4GmcyW6BgBrVwBaOOAlqiIB5IzslBLvo2JfQpjGH SiefFhce1Tr+to4o5T5eqMnx/RqxmG9pFecHTqxsXDBxDzUcBWGZ8dV4XDq4nHLmfK bNj+1/Hqy434Q== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Thu, 10 Jul 2025 12:37:57 +0200 To: Larry Garfield Cc: php internals Subject: Re: [PHP-DEV] [RFC] Readonly property hooks In-Reply-To: References: <1e8634d7-ac1a-4025-b4e2-1948aabf5251@app.fastmail.com> Message-ID: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2025-07-08 17:10, schrieb Larry Garfield: > The only way to make the readonliness fully guaranteed would be to > force a readonly property to be cached Or by not allowing a `get` hook on readonly properties, of course. Best regards Tim Düsterhus