# Search results for "Write-Once Properties"

19 results, page 1 of 1. Each result is an email: results with the same thread number are in the same thread. The link opens the thread as Markdown, find the email in it by its number.

More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

1. [[RFC] [Discussion] Clone with](https://externals.io/message/120559.md) — email #120559 in thread #120048, by Levi Morrison via internals on 2023-06-12
   > Hi Everyone, Quite some time after mentioning the "clone with" construct the first time (at the end of the https://wiki.php.net/rfc/**write_once**_**properties**#run-time_behaviour section), finally I managed to create a working implementation …
2. [[RFC] Readonly properties](https://externals.io/message/115207.md) — email #115207 in thread #114729, by Nikita Popov on 2021-06-29
   > … garfieldtech.com a écrit : I'd like to open the discussion on readonly **properties**: https://wiki.php.net/rfc/readonly_**properties**_v2 This proposal is similar to the https://wiki.php.net/rfc/**write_once**_**properties** RFC that has been …
3. [[RFC] Property initializer for clone](https://externals.io/message/112624.md) — email #112624 in thread #112624, by kocsismate90@gmail.com on 2020-12-27
   > … baz: $baz, }; } } An initial implementation is available at https://github.com/php/php-src/pull/6538 Initially, I started working on this feature because of the feedback my "**Write-once** **properties**" RFC got back then - namely that "**write-once**" properti
4. [[RFC] Property write visibility](https://externals.io/message/110787.md) — email #110787 in thread #110768, by Rowan Tommins on 2020-06-29
   > … property accessors is lazy-loading, which I know is something you use in other forms. I had already tested the **write-once** **properties** RFC with lazy-loading: works just fine 👍 I meant that property accessors can be used to …
5. [Improving PHP's Object Egonomics: A broad analysis](https://externals.io/message/109277.md) — email #109277 in thread #109220, by kocsismate90@gmail.com on 2020-03-24
   > … same goal, in which case please share. :-) For transparency purposes: the idea I presented during the discussion of "**write-once**" **properties** was to make the following syntax (or a similar one) possible in order to make cloning of these **properties** …
6. [[RFC] [VOTE] Immutable/final/readonly properties](https://externals.io/message/109107.md) — email #109107 in thread #109097, by Nicolas Grekas on 2020-03-17
   > … and my proposal doesn't try to solve the same problem. Like you write in the RFC: Although actually “**write-once**” **properties** and property accessors are orthogonal to each other, it's arguable whether we still needed “**write-once**” **properties** …
7. [[RFC] [DISCUSSION] Immutable/final/readonly properties](https://externals.io/message/109064.md) — email #109064 in thread #108675, by Larry Garfield on 2020-03-16
   > … the constructor. I think what I'd expect from a possible object initializer feature is that it can't overwrite "**write-once**" **properties** with default values. (?) However, I'm ok to to remove support for default values because of the …
8. [Analysis of property visibility, immutability, and cloning proposals](https://externals.io/message/112643.md) — email #112643 in thread #112627, by olleharstedt@gmail.com on 2020-12-29
   > … how old the dates are on those messages), so I wasn't thinking about it. An immutable class would in all practicality be the same as a class where all the **properties** are initonly (or **writeonce**, but that was al
9. [[RFC] [DISCUSSION] Immutable/final/readonly properties](https://externals.io/message/108749.md) — email #108749 in thread #108744, by terje.slettebo@sandefjordbredband.net on 2020-02-25
   > Mike Schinkel wrote: On Feb 21, 2020, at 6:17 PM, Larry Garfield larry@garfieldtech.com wrote: Separate visibility for internal and external access is a separate matter. (Also potentially useful, but not part of the **write-once** proposal at …
10. [[RFC] [PROPOSAL] Immutable/final/readonly properties](https://externals.io/message/108596.md) — email #108596 in thread #108571, by kocsismate90@gmail.com on 2020-02-15
   > … case, "final" or "lazy" or "locked" would be reasonable names; read-only and immutable are misleading, as it's really **write-once**, not read-only, not truly immutable. In the meanwhile, I realized that "immutable" is simply not true in …
11. [Final properties](https://externals.io/message/92202.md) — email #92202 in thread #92084, by Fleshgrinder on 2016-04-11
   > … the meaning here. See other messages of mine in this thread. Another question, which unfortunately runs straight into the previous **Properties** RFC: If a public property is **write-once**, with the intent being that it's set from the constructor …
12. [[RFC] Readonly property hooks](https://externals.io/message/128114.md) — email #128114 in thread #127621, by tim@bastelstu.be on 2025-07-18
   > … we're thinking about this the wrong way, though? So far we've talked as though readonly makes the property **write-once.** But... what if we think of it as applying to the field, aka the backing value? I think …
13. [Asymmetric visibility is a BC break](https://externals.io/message/125775.md) — email #125775 in thread #125772, by Claude Pache on 2024-10-09
   > … property and write to it from any scope. Now let's jump to PHP 8.1+ with support for readonly **properties**. A readonly property is two functionalities in one: **write-once** and private set. This means that public readonly $property …
14. [[RFC] Asymmetric Visibility, v2](https://externals.io/message/123521.md) — email #123521 in thread #123456, by Claude Pache on 2024-06-05
   > … the two **properties** are related. All that special casing effectively means that readonly in 8.4 wouldn't really be "**write once** + private(set)", but "**write once** + private(set) - final", which is... just kinda screwy. That means our options are …
15. [[RFC] Asymmetric visibility](https://externals.io/message/118546.md) — email #118546 in thread #118353, by Larry Garfield on 2022-08-31
   > … just yet, as there's outstanding questions for which we want feedback below.) Rather than readonly being forbidden on asymmetric **properties**, it's better to redefine it as "**write once**, and if no set visibility is defined, make it private …
16. [[RFC] [DISCUSSION] Compact Object Property Assignment](https://externals.io/message/109106.md) — email #109106 in thread #109055, by michal.brzuchalski@gmail.com on 2020-03-17
   > … public typed **properties** and I don't care if something would be changed in the meantime. With current RFC for **write-once**, I can see object initializer could be an awesome feature with a combine of read-only **properties**. Currently …
17. [property de-referencing](https://externals.io/message/67213.md) — email #67213 in thread #67147, by Rasmus Schultz on 2013-04-30
   > … don't have a patch - there is also no RFC, but there is general interest, I'd be happy to **write one.** Hi Rasmus, Am 25.04.2013 um 14:47 schrieb Rasmus Schultz rasmus@mindplay.dk: [...] What do you …
18. [internals Digest 20 Oct 2012 09:49:39 -0000 Issue 2820](https://externals.io/message/63567.md) — email #63567 in thread #63567, by Rasmus Schultz on 2012-10-20
   > I second getting rid of **write-onle** - the only real case I can think of, is something like a password property on a user/account model-type, which gets encrypted and thus can't be read, and as Amaury pointed …
19. [[RFC] Shorter Attribute Syntax Change RFC 0.2](https://externals.io/message/111626.md) — email #111626 in thread #111312, by Benjamin Eberlei on 2020-08-19
   > On Wed, Aug 19, 2020 at 11:01 AM Andreas Leathley a.leathley@gmx.net **wrote: One** last change that I didn't see yesterday as it was on Github and not this list is the addition of another syntax …
