Re: [PHP-DEV] PHP True Async RFC - Stage 2

2025-03-23 Thread Edmond Dantes
Hello. > > So as an outline, I would recommend: > Yes, your suggestion is interesting. I'll think about that section next week. However, I can say that I’ve already dropped the “philosophy” section. I decided to move it into a separate article that will be available as an artifact. Such articles

Re: [PHP-DEV] Feedback for nullc Idea

2025-03-23 Thread Rowan Tommins [IMSoP]
On 23/03/2025 12:52, Robert Chapin wrote: Hi PHP folks, I submitted a proposal on Monday that received no replies.  The idea was about adding a functional construct nullc() that could act as an inline null coalesce for a variable.  That task is currently not possible in a nullc() user functio

Re: [PHP-DEV] Re: Constructor property promotion for final properties

2025-03-23 Thread Larry Garfield
On Fri, Mar 21, 2025, at 2:29 PM, Daniel Scherzer wrote: >>> Yes, that would result in constructor property promotion. I'll need to >>> retarget the original PR for master, but at >>> https://github.com/php/php-src/pull/17861 you can see in >>> `Zend/tests/property_hooks/final_prop_promoted_2.p

Re: [PHP-DEV] Re: RFC: short and inner classes

2025-03-23 Thread Larry Garfield
On Wed, Mar 12, 2025, at 5:10 AM, Rob Landers wrote: > Hello internals, > > I've made some major updates to the text of the RFC to clarify > behaviors and revisited the implementation (which is still under > development, though I hope to have a draft by the end of this weekend). > Here's a broa

Re: [PHP-DEV] Feedback for nullc Idea

2025-03-23 Thread Larry Garfield
On Sun, Mar 23, 2025, at 8:37 AM, Kamil Tekiela wrote: > On Sun, 23 Mar 2025 at 12:52, Robert Chapin wrote: >> >> Hi PHP folks, >> >> I submitted a proposal on Monday that received no replies. The idea was >> about adding a functional construct nullc() that could act as an inline >> null coalesce

[PHP-DEV] Feedback for nullc Idea

2025-03-23 Thread Robert Chapin
Hi PHP folks, I submitted a proposal on Monday that received no replies.  The idea was about adding a functional construct nullc() that could act as an inline null coalesce for a variable.  That task is currently not possible in a nullc() user function, but instead requires an expression like

Re: [PHP-DEV] Potential RFC: mb_rawurlencode() ?

2025-03-23 Thread Rowan Tommins [IMSoP]
On 22 March 2025 16:08:54 GMT, "Paul M. Jones" wrote: >Next up: what exactly should the API around this functionality look like? I >suggested functions but that's clearly a non-starter; what do we feel is a >good alternative, and can it be achieved independently from (but in support >of) t

Re: [PHP-DEV] Re: Constructor property promotion for final properties

2025-03-23 Thread Alexandru Pătrănescu
On Fri, Mar 21, 2025 at 9:30 PM Daniel Scherzer wrote: > > On Fri, Mar 21, 2025 at 9:45 AM Alexandru Pătrănescu > wrote: > >> >> On Fri, Mar 21, 2025 at 5:20 PM Daniel Scherzer < >> daniel.e.scher...@gmail.com> wrote: >> >>> On Fri, Mar 21, 2025 at 4:07 AM Tim Düsterhus wrote: >>> Can you