Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129645 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 6CB8D1A00BC for ; Wed, 17 Dec 2025 20:33:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1766003631; bh=w0d3nNX0c1DC4rJzvuaEVEP8hVvONdxB/M4/YkS6pSw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=AoI4Gi284SnkH2eNn2Xriqf15MBUlqilOX4hqdYdE4MpJhWeHo3goIwjkvGoZU3DW VExT9uq4Ppfm+hGtX7Yjr7jizIsy490PdEb1x9RF6jRlfXBNXNaPGEtm4aqp1NXekW SpyJOQ7YSxl3pI8Thl5Jh3yaztkzxMkH1EKThI+JU6SDt7d8TUXfxbQWs2DVrbXSmO 4kydVD1XzG6YdPvr4pd0QQInRykyNZQPzI9K3vsoL70G5Pocg6O27jTgXZQ+ZFTZRK gLArT1kuVk4YOZiXAtBvuIjaOspJwDMtD4vDNSsmcI4diXjekwCY91/ZAMXJRywt5A zCHYPZKq7vdAA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3F3111801DB for ; Wed, 17 Dec 2025 20:33:50 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (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 ; Wed, 17 Dec 2025 20:33:39 +0000 (UTC) Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-4ed9c19248bso55503461cf.1 for ; Wed, 17 Dec 2025 12:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766003614; x=1766608414; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YctJnfAlx3VB4LboKicLO2O2SJuiKPZ/555n2qHVJxg=; b=MRGlfwBijL9Kou9zL/exwUQ/BS2wqjrOGzkOi6x/uXzklhZkMfpFlZmrsvZT8DUIlY 6HJQbXRiFQistjrj2I0J3aNw1h75Cl4Pk0xpzvev3dIS2ojEWzl2djBo5k63EPnlERQJ Tx91/W4gvRm/DtqdlbAFkos5eZzPuzhklGOYTlwGEVkUx7PTerXpZoBY30d983zHVGTP jNgQKt8f2yYibjYzD3mYYE8p6ACFd6LZhVup7xEo5cQj3W8xIbYwQrXgdL6Zb51822Ui qOYdi5d2877RcNJerxep/LJoyRbvdlYAf6L2UxiJavUWmKyjjt6g8k9/eLnHV57JKBEk xE7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766003614; x=1766608414; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YctJnfAlx3VB4LboKicLO2O2SJuiKPZ/555n2qHVJxg=; b=pAvwnzNXaq4yS92x9TKFXlyEo7YlPp+9ysLieHwk1sLocuRWF4wSRAAeZOFrKjzfwz qJHREEw5r4Zvp39w+IN35O4Z4/31bxJ/Q7YCIjOsAB7Su++UNaeUhPtACZclT3lGKBMb OEGIvSnP0C0Lx55kFAz2T8EZY/mzsqCnoa5le+xYHXQh3xrsOXZYRqDTDcQuulLdz0z3 06xsoZhkpOXTg+TwoD2gRtVbhHvDH8oIEEEFs1oG+Ad4ghaNGlU+iiv5o927eLr3DB5/ xsqhdWHfF+k5ehj4QszgleQFDMUK7f7gzAfa5qfxejvlxz8Gbcubj4TielCzCvXgR+G9 Ltwg== X-Gm-Message-State: AOJu0Yzd54ET2n+iYY0Ty/mai04r80AeCbpMshfa5RJqZOlVuKTyUvsI Fh3/goahLVY4p+1K69w1yJj3v7U7muPNzkjENHO2vkUcI9Cz5yXUoR+1vFwyVuUCp9jNjVQEyTw VT5TKY14O2wC0+GDKDE11MeHhxiX8VZf1cT3f X-Gm-Gg: AY/fxX7kYxwIykZpmy2YFtFke95ISzLZzHT3T0Uzhkw0LGCAwHv1Y6Fhb/7JKyLSeLn eB335bJyXD8oi5eDFSrNjcn5QsiIvVpm+dYr1AjT3QYazSznx9x/rX2SOH+sF0cZmvdFk42sQFP lr7V+zBqw2J9jNsnnW4OIeu4UH2cfA21uOPPpbwz8JPqmguHEwv7yKPzgmOE5Z+7RhcMW8l+dx9 c1b0rqclfFE/NzRIEKmzL1EZU5asaAR67vQBSMssexe5NFL51W9ykrjJdxIlILXa2e1BWlJe8nW yhdNxfA9XctUWQFGJBWYK5mw7dAmxxkCX6x20Mvv8xZ0UbSOiLtFYQScFw== X-Google-Smtp-Source: AGHT+IEGQGeIhklk9W2nOP1apEWV1pNkf8ubvhpMvdqU3VWHlrjYThXbKah4rHPMwfnlJ8qORh2VQtFTumH0TVYrmzA= X-Received: by 2002:ac8:7fd3:0:b0:4f0:30af:7d41 with SMTP id d75a77b69052e-4f1d059e675mr270301431cf.52.1766003613994; Wed, 17 Dec 2025 12:33:33 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <09b0365c-9708-4c38-8004-5b1ca693ad8c@app.fastmail.com> In-Reply-To: <09b0365c-9708-4c38-8004-5b1ca693ad8c@app.fastmail.com> Date: Wed, 17 Dec 2025 21:33:23 +0100 X-Gm-Features: AQt7F2r7LUIZCIsc8a1z1slDK6W8HS-K7s2eBke7KFd6RLzFkku6_0qMH1BowAc Message-ID: Subject: Re: [PHP-DEV] [RFC] isReadable/isWriteable property reflection To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="0000000000001597eb06462bc247" From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --0000000000001597eb06462bc247 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le mer. 17 d=C3=A9c. 2025 =C3=A0 16:29, Larry Garfield a =C3=A9crit : > On Wed, Nov 5, 2025, at 5:24 PM, Larry Garfield wrote: > > In other news, Ilija and I said a year ago that we'd take a swing at > > adding isReadable/isWriteable methods to ReflectionProperty. Took a > > while, but here we are. A strangely small RFC from us: > > > > https://wiki.php.net/rfc/isreadable-iswriteable > > A few updates based on the discussion here: > > * We now account for static properties. (What a concept.) > * The `static` magic string is gone. > * We have decided on an approach for magic methods. The updated RFC text > explains it in more detail, but in short, "if __isset(), then use that to > determine readable. Otherwise, __get() implies readable. __set() implie= s > writeable." That should handle the use cases Nicolas was interested in. > > We consider the RFC feature complete at this point. Baring any further > substantive discussion, expect a vote in January after the blackout perio= d > ends. > Hi, thanks for the update! I read the updated description and that looks great to me, thanks. Nicolas --0000000000001597eb06462bc247 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


--0000000000001597eb06462bc247--