# Search results for "readonly"

81 results, page 1 of 5. 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://staging.externals.io/search.md?q={query} · RFCs at https://staging.externals.io/rfc.md · JSON API at https://staging.externals.io/api · documentation at https://staging.externals.io/llms.txt

1. [[VOTE] Readonly Property Defaults](https://staging.externals.io/message/132096.md) — email #132096 in thread #132096, by Nick Sdot on 2026-07-24
   > Hey everyone, I just opened voting on the "**Readonly** Property Defaults" RFC. Wiki Page: https://wiki.php.net/rfc/**readonly**_property_defaults Discussion Thread: https://news-web.php.net/php.internals/131760 The RFC has one primary vote requiring a …
2. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/132027.md) — email #132027 in thread #131760, by Nick Sdot on 2026-07-19
   > Hey Internals, I would like to present a tiny, five-line-removal RFC allowing default values on **readonly** properties. Allowing default values on **readonly** class properties enables creating a strict contract for implementation property values that will not change …
3. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131901.md) — email #131901 in thread #131760, by tim@bastelstu.be on 2026-07-13
   > Hi Got it. Yes, no specialities. In case you deem it necessary I could add an assertion to an existing test. Something like: class Foo { public function __construct( public **readonly** string $a = 'bar') {} } var_dump(new ReflectionClass(Foo::class)->getProperty …
4. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131900.md) — email #131900 in thread #131760, by Nick Sdot on 2026-07-13
   > … deem it necessary I could add an assertion to an existing test. Something like: class Foo { public function __construct( public **readonly** string $a = 'bar') {} } var_dump(new ReflectionClass(Foo::class)->getProperty('a')->hasDefaultValue()) // bool(false) To me it feels just …
5. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131898.md) — email #131898 in thread #131760, by tim@bastelstu.be on 2026-07-13
   > Hi Not exactly sure what you would like me to spell me out. It's indeed different things. I made a tiny addition to the non-goals. Let me know if that's enough or if you had something else …
6. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131896.md) — email #131896 in thread #131760, by Nick Sdot on 2026-07-13
   > Hey Tim, Hi There is two options here: The non-hooked unserialization path must also error out when trying to unserialize into a **readonly** property with a default value. __unserialize() must be able to unserialize into a **readonly** property with …
7. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131894.md) — email #131894 in thread #131760, by tim@bastelstu.be on 2026-07-13
   > Hi There is two options here: The non-hooked unserialization path must also error out when trying to unserialize into a **readonly** property with a default value. __unserialize() must be able to unserialize into a **readonly** property with a default …
8. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131864.md) — email #131864 in thread #131760, by Nick Sdot on 2026-07-11
   > … attempt) Hey Larry, Hey Internals, I would like to present a tiny, five-line-removal RFC allowing default values on **readonly** properties. Allowing default values on **readonly** class properties enables creating a strict contract for implementation property values that will …
9. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131863.md) — email #131863 in thread #131760, by Nick Sdot on 2026-07-11
   > Hey Larry, Hey Internals, I would like to present a tiny, five-line-removal RFC allowing default values on **readonly** properties. Allowing default values on **readonly** class properties enables creating a strict contract for implementation property values that will not …
10. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131862.md) — email #131862 in thread #131760, by Larry Garfield on 2026-07-10
   > Hey Internals, I would like to present a tiny, five-line-removal RFC allowing default values on **readonly** properties. Allowing default values on **readonly** class properties enables creating a strict contract for implementation property values that will not change …
11. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131844.md) — email #131844 in thread #131760, by Nick Sdot on 2026-07-09
   > … situation we do not yet have so far: As far as I can tell there is no way for a **readonly** property to be preinitialized when unserialization happens. This means that it is not not observable that the non-hooked …
12. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131840.md) — email #131840 in thread #131760, by tim@bastelstu.be on 2026-07-09
   > … situation we do not yet have so far: As far as I can tell there is no way for a **readonly** property to be preinitialized when unserialization happens. This means that it is not not observable that the non-hooked …
13. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131838.md) — email #131838 in thread #131760, by Nick Sdot on 2026-07-09
   > Hey Tim, thanks for the feedback! Hi I would like to present a tiny, five-line-removal RFC allowing default values on **readonly** properties. Allowing default values on **readonly** class properties enables creating a strict contract for implementation property values …
14. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131830.md) — email #131830 in thread #131760, by tim@bastelstu.be on 2026-07-09
   > Hi I would like to present a tiny, five-line-removal RFC allowing default values on **readonly** properties. Allowing default values on **readonly** class properties enables creating a strict contract for implementation property values that will not change at runtime …
15. [[RFC] Readonly Property Defaults](https://staging.externals.io/message/131760.md) — email #131760 in thread #131760, by Nick Sdot on 2026-07-04
   > Hey Internals, I would like to present a tiny, five-line-removal RFC allowing default values on **readonly** properties. Allowing default values on **readonly** class properties enables creating a strict contract for implementation property values that will not change at …
16. [[RFC] Primary Constructors](https://staging.externals.io/message/131646.md) — email #131646 in thread #131565, by Rowan Tommins [IMSoP] on 2026-07-01
   > final **readonly** class Dog( string $name, )extends Animal { parent::__construct($name); }=> { // class body } The above: does NOT have a parent constructor shortcut call -> extends Animal DOES allow parent constructor call in primary constructor body behaves exactly (!) as a conventional …
17. [[RFC] Primary Constructors](https://staging.externals.io/message/131644.md) — email #131644 in thread #131565, by Nick Sdot on 2026-07-01
   > final **readonly** class Foo(Collection|array $value) implements Bar { $this->items = $value instanceof Collection ? $value : new Collection($value); } => { public Collection $items; // class body private Collection $items } final **readonly** class Foo implements Bar { public Collection $items; public function __construct(Collection …
18. [[RFC] Primary Constructors](https://staging.externals.io/message/131638.md) — email #131638 in thread #131565, by Larry Garfield on 2026-06-30
   > final **readonly** class Foo(Collection|array $value) implements Bar { $this->items = $value instanceof Collection ? $value : new Collection($value); } => { public Collection $items; // class body private Collection $items } final **readonly** class Foo implements Bar { public Collection $items; public function __construct(Collection …
19. [[Proposal] Struct Data Types](https://staging.externals.io/message/104743.md) — email #104743 in thread #104743, by Rowan Collins on 2019-03-15
   > **Readonly** properties: Without requiring an entire object to be immutable, we can add support for **readonly** properties. This may be either a standalone feature, or part of / based on a more general property accessors proposal. This is reasonable, but …
20. [Class Extension](https://staging.externals.io/message/131848.md) — email #131848 in thread #131805, by Holly Schilling on 2026-07-10
   > For one, I **read only** internals and github. I keep seeing "we talked on discord" but there is no reference whatsoever to a php.nethttp://php.net/'s discord anywhere i searched for. so maybe I would suggest to be …

Next page: https://staging.externals.io/search.md?q=readonly&page=2
