Re: [PHP-DEV] Class Extension
[email protected] (Pierre Joye) Fri, 10 Jul 2026 11:10:12 +0700
| Newsgroups | php.internals |
|---|---|
| Message-ID | <CAEZPtU78hWgxcV1vxuURsqrUm5J4yQR8bXBRvLy+5kKwXwLKWA@mail.gmail.com> |
hello, On Wed, Jul 8, 2026, 12:11 PM Holly Schilling <[email protected]> wrote: > Following the discussion in Discord yesterday, I started working on the > feasibility of implementing class extensions. > For one, I read only internals and github. I keep seeing "we talked on discord" but there is no reference whatsoever to a php.net's discord anywhere i searched for. so maybe I would suggest to be a tat bit more descriptive first here too? I believe I’ve proven out the concept and viability of it in a 2-phase > approach using an extension syntax similar to that of Swift. > > Before I go into much more detail, what is the general interest in adding > this to the language? > reading the thread, I feel both swift and you aim to the same goal, some parts use different approaches but as I am not a user of swift, it may be nicer if you could work together, if desired? best, -- Pierre @pierrejoye >