Re: [PHP-DEV] [RFC][Under discussion] Arbitrary string interpolation

2022-04-04 Thread MKS Archive
> On Mar 26, 2022, at 6:15 PM, Rowan Tommins wrote: > > On 25/03/2022 14:38, Arnaud Le Blanc wrote: >> I find that sprintf() is easier to read in most cases. One reason for this is >> that the text is separated from the code. > > > Funnily enough, I find sprintf() *harder* to read for the same

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-08 Thread MKS Archive
> On Jul 8, 2022, at 12:29 PM, Jordan LeDoux wrote: > > On Tue, Jul 5, 2022 at 2:39 PM shinji igarashi > wrote: > >> Hello internals, >> >> I've started the vote for the Constants in Traits RFC: >> https://wiki.php.net/rfc/constants_in_traits >> >> The vote will end on

Re: [PHP-DEV] [RFC] Short Closures 2, aka auto-capture take 3

2022-06-12 Thread MKS Archive
> On Jun 11, 2022, at 10:01 PM, Larry Garfield wrote: > > On Sat, Jun 11, 2022, at 4:14 PM, Rowan Tommins wrote: >> On 09/06/2022 17:34, Larry Garfield wrote: >>> Last year, Nuno Maduro and I put together an RFC for combining the >>> multi-line capabilities of long-closures with the

Re: [PHP-DEV] The future of objects and operators

2022-05-07 Thread MKS Archive
> On May 6, 2022, at 6:16 PM, Jordan LeDoux wrote: > > Hello all, > > I took a while away after my operator overload RFC was declined. I've been > mulling for the last few months how to move forward while respecting the > concerns and feedback of those who abstained and those who voted

Re: [PHP-DEV] Specify abstract parent methods for traits

2022-09-29 Thread MKS Archive
> On Sep 18, 2022, at 7:51 AM, Mohammad Amin Chitgarha > wrote: > > Hi. > > Currently, it's possible that, inside a trait's function, use the parent > method of a class using the trait. This way, not only it's implicitly > supposed the trait is used in a class having a parent, but also the

Re: [PHP-DEV] Experimental features

2022-10-10 Thread MKS Archive
> On Oct 10, 2022, at 8:04 PM, David Gebler wrote: > > This is what's bothering me. Either these "experimental" features have > passed RFC and will be part of the language, as you've said above, or > they're actually experimental i.e. not finalized and implementing behaviour > and syntax

Re: [PHP-DEV] [RFC] Asymmetric visibility

2022-08-12 Thread MKS Archive
Hi Ollie, > On Aug 8, 2022, at 6:12 AM, Ollie Read wrote: > > On Mon, Aug 8, 2022, at 3:54 AM, Mike Schinkel wrote: >> 3.) I have concerns about the proposed methods isProtectedSet() and >> isPrivateSet(). >> >> These names feels like we are asking if some thing "Set" is "Protected" or >>