Hi there
On Fri, Feb 7, 2025 at 4:07 PM Tim Düsterhus wrote:
>
> I believe Ilija has some proof-of-concept regarding file-private
> classes, which would sidestep the above problem of disambiguating static
> member access.
Indeed. I shared a draft internally and responses were mixed.
https://wik
On Fri, Feb 7, 2025, at 16:05, Tim Düsterhus wrote:
> Hi
>
> Am 2025-02-07 15:23, schrieb Rob Landers:
> > Instantiation is done by static access: new Outer::Inner(1), which is
> > currently a syntax error.
>
> How would I access static members on an inner class without having
> ambiguity? `Out
Hi
Am 2025-02-07 15:23, schrieb Rob Landers:
Instantiation is done by static access: new Outer::Inner(1), which is
currently a syntax error.
How would I access static members on an inner class without having
ambiguity? `Outer::Inner::Const` already is valid syntax.
If this is a big "NO" (or
Hey internals,
You may remember my RFC about Records (https://wiki.php.net/rfc/records). There
was something intentionally left out, and due to life events, I am quite behind
schedule on this one. BUT, what I left out (and the main reason for the short
syntax) is the ability to have locally sco