Re: Class Extension
| From: | Rowan Tommins [IMSoP] | Date: | Wed, 08 Jul 2026 12:20:26 +0000 |
| Subject: | Re: Class Extension | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-131815@lists.php.net to get a copy of this message | ||
On 8 July 2026 06:08:42 BST, Holly Schilling <holly.a.schilling@outlook.com> wrote:
>Following the discussion in Discord yesterday, I started working on the feasibility of
>implementing class extensions. 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?
Hi Holly,
Can you give a brief summary of what the feature is, and how it would apply to PHP, for those of us
who aren't familiar with Swift, and haven't seen the Discord discussion?
Thanks,
Rowan Tommins
[IMSoP]