`$undefined?->bar()` does feel wrong, but `$arr[0]?->bar()` does not to me.
But maybe i've just been using javascript too much lately
On Wed, 24 Aug 2022 at 15:11, Marco Pivetta wrote:
>
> Hey Gert,
>
> On Wed, 24 Aug 2022 at 14:59, Gert de Pagter wrote:
>>
>
upcoming
PHP version? I didn't see anything mentioned specifically about this
in the RFC.
https://3v4l.org/1raa8
Greetings,
Gert de Pagter/ BackEndTea
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php
Hey Internals,
Recently i've been working on an older code base, where we have a lot
of classes with all
static methods. We've been moving to injecting the classes, and
calling the methods as if they
were not static.
I wanted to add interfaces to these classes, with non static methods,
so we can
Hey Internals,
I’d like RFC karma in order to write an RFC on intersection types.
Could someone give me the need permissions?
Thanks in advance!
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Internals,
With recent additions of the type system like union types [1], id like to
propose adding intersection types as well.
Looking through past RFCs I found one from 2016 [2] which never left the
discussion phase and is currently marked as inactive.
Before continuing with an RFC I'd lik