ese
inconsistencies, correct?
Callable properties (separate topic) may be a challenge, but can at least
argument defaults be supported?
Regards,
Sergii Shymko
On Oct 29, 2023, at 3:23 PM, Robert Landers
mailto:landers.rob...@gmail.com>> wrote:
Because falsy is different than null/non-existent. The closest
equivalent is "array_key_exists" (instead of empty/isset) but this
proposal isn't just applicable to arrays. I run into this pattern of
"if not null
On Oct 29, 2023, at 1:31 PM, Robert Landers
mailto:landers.rob...@gmail.com>> wrote:
Hello Internals,
We currently have a null coercion operator: ??, but we lack an
anti-null coercion operator.
For example, if I wanted to operate on a header, if-and-only-if it
exists, I'd have to write someth
ttps://twitter.com/SergiiShymko/status/1679598903925129222?s=20
Regards,
Sergii Shymko
From: Rowan Tommins
Sent: Thursday, February 9, 2023 12:56 AM
To: internals@lists.php.net
Subject: Re: [PHP-DEV] RFC proposal: values getter in BackedEnum
On Thu, 9 Feb 2023 at 01:30, Sergii Shymko wrote:
> I'd like to propose an improvement t
enough support, I'd be happy to submit an RFC and implement it myself.
Some guidance on the performance optimization aspect may be necessary though.
I'm still missing the karma necessary to create RFCs in the wiki.
Regards,
Sergii Shymko
From: Olle Härstedt
Sent: Tuesday, February 7, 2023 11:53 AM
To: Rowan Tommins
Cc: PHP Internals
Subject: Re: [PHP-DEV] RFC Proposal - Types for Inline Variables
2023-02-07 17:21 GMT+01:00, Rowan Tommins :
> On 07/02/2023 14:07, Olle Härstedt wrote:
>> It shou
From: Kamil Tekiela
Sent: Wednesday, February 1, 2023 11:55 AM
To: Sergii Shymko ; PHP internals
Subject: Re: [PHP-DEV] RFC proposal: function array_filter_list() to avoid
subtle bugs/workarounds
Hi Sergii,
First of all, let me say that I am glad more people
From: Alexandru Pătrănescu
Sent: Wednesday, February 1, 2023 10:53 AM
To: Sergii Shymko
Cc: Marco Pivetta ; PHP internals
Subject: Re: [PHP-DEV] RFC proposal: function array_filter_list() to avoid
subtle bugs/workarounds
On Wed, Feb 1, 2023, 19:59 Sergii Shymko
mailto:ser...@shymko.net
Hi Marco,
From: Marco Pivetta
Sent: Wednesday, February 1, 2023 9:25 AM
To: Sergii Shymko
Cc: internals@lists.php.net
Subject: Re: [PHP-DEV] RFC proposal: function array_filter_list() to avoid
subtle bugs/workarounds
Hey Sergii,
On Wed, 1 Feb 2023 at 18:22
62138fc990048987e9e2339a3d
I just registered a wiki account "sshymko" with the intention of submitting the
RFC.
Could someone please approve the account and give it some karma?
Looking forward to collaborating with the internals team! 🙂
Regards,
Sergii Shymko
11 matches
Mail list logo