Re: [PHP-DEV] [RFC] Destructuring Coalesce

2022-10-31 Thread Bob Weinand
> Am 16.10.2022 um 23:11 schrieb Bob Weinand : > > Hey, > > I've written a small RFC about adding coalesce ability to list() > destructuring. > > This should enhance the ability to easily, concisely and readably destructure > arrays with default values. > > https://wiki.php.net/rfc/destructur

Re: [PHP-DEV] [RFC][Discussion] Objects can be declared falsifiable

2022-10-31 Thread Marco Pivetta
Since this topic fits like a glove, just dropping the "why I don't use `__toString()`" argument here: https://github.com/ShittySoft/symfony-live-berlin-2018-doctrine-tutorial/pull/3#issuecomment-460085493 A falsifiable object is worse than `__toString()` in this context, IMO. Marco Pivetta https

Re: [PHP-DEV] Change email address associated with account

2022-10-31 Thread Christoph M. Becker
On 31.10.2022 at 21:09, Sara Golemon wrote: > On Mon, Oct 31, 2022 at 2:48 PM Josh Bruce wrote: > >> I’d like to change my email address for internals but don’t want to lose >> ownership (??) of the falsifiable RFC: >> https://wiki.php.net/rfc/objects-can-be-falsifiable >> >> Is this possible? Sh

Re: [PHP-DEV] Change email address associated with account

2022-10-31 Thread Sara Golemon
On Mon, Oct 31, 2022 at 2:48 PM Josh Bruce wrote: > I’d like to change my email address for internals but don’t want to lose > ownership (??) of the falsifiable RFC: > https://wiki.php.net/rfc/objects-can-be-falsifiable > > Is this possible? Should I be posting this somewhere else, if so, where?

[PHP-DEV] Change email address associated with account

2022-10-31 Thread Josh Bruce
Hey Internals! Apologies if this is the wrong space. I’d like to change my email address for internals but don’t want to lose ownership (??) of the falsifiable RFC: https://wiki.php.net/rfc/objects-can-be-falsifiable Is this possible? Should I be posting this somewhere else, if so, where? Che

Re: [PHP-DEV] [RFC][Discussion] Objects can be declared falsifiable

2022-10-31 Thread Josh Bruce
Hello Interntals, Someone reached out to me outside of internals regarding the RFC I submitted on being able to declare objects falsifiable, so, I decided to update and re-enter the fray. I’ve updated the references section as many of the RFCs that were under discussion at the time have since

Re: [PHP-DEV] Microseconds to error log

2022-10-31 Thread Rowan Tommins
On 31/10/2022 10:16, Craig Francis wrote: On Sun, 30 Oct 2022 at 17:42, Rowan Tommins wrote: In case of any confusion, I think this should be configurable as "include microseconds: on / off", not configurable as "enter date format". Any reason it can't be configured to use ISO 8

Re: [PHP-DEV] Re: RFC [Discussion]: Randomizer Additions

2022-10-31 Thread Tim Düsterhus
Hi On 10/29/22 00:44, Jordan LeDoux wrote: I had a discussion with Tim about this naming topic as well, and want to convey my suggestion along with the reasoning. I think the enum should be `Random\IntervalBoundary` with the enum cases: Yes, I agree this is a much better name for the enum its

Re: [PHP-DEV] Request for Wiki karma

2022-10-31 Thread Jordan LeDoux
On Mon, Oct 31, 2022 at 10:43 AM Codito - Grzegorz Korba < grzegorz.ko...@codito.pl> wrote: > > I don't want to edit someone else's RFCs, but I saw there are several > pages related to the process itself, which I find not as helpful as they > should be 🙂 I will work on the docs through the PRs, bu

Re: [PHP-DEV] Request for Wiki karma

2022-10-31 Thread Codito - Grzegorz Korba
pon., 31 paź 2022, 18:34 użytkownik Jordan LeDoux napisał: > > > On Mon, Oct 31, 2022 at 12:32 AM Codito - Grzegorz Korba < > grzegorz.ko...@codito.pl> wrote: > >> Hi Internals! >> >> I would like to ask for Wiki karma (account: codito) in order to be able >> to >> edit Wiki pages. I feel like I

Re: [PHP-DEV] Request for Wiki karma

2022-10-31 Thread Jordan LeDoux
On Mon, Oct 31, 2022 at 12:32 AM Codito - Grzegorz Korba < grzegorz.ko...@codito.pl> wrote: > Hi Internals! > > I would like to ask for Wiki karma (account: codito) in order to be able to > edit Wiki pages. I feel like I can help with providing helpful examples or > improve existing docs. In the f

Re: [PHP-DEV] Proposal: Expanded iterable helper functions and aliasing iterator_to_array in `iterable\` namespace

2022-10-31 Thread Larry Garfield
On Sun, Oct 30, 2022, at 3:25 PM, Tim Düsterhus wrote: > Hi > > On 10/30/22 17:22, Larry Garfield wrote: >> 2. There are ample use cases for most operations to return an array or a >> lazy iterable. Both totally exist. I solved that by also having a separate >> version of each function, eg, ama

Re: [PHP-DEV] Microseconds to error log

2022-10-31 Thread Craig Francis
On Sun, 30 Oct 2022 at 17:42, Rowan Tommins wrote: > In case of any confusion, I think this should be configurable as > "include microseconds: on / off", not configurable as "enter date format". > Any reason it can't be configured to use ISO 8601? Apache 2.4 allows you to use `LogFormat "... [

[PHP-DEV] Request for Wiki karma

2022-10-31 Thread Codito - Grzegorz Korba
Hi Internals! I would like to ask for Wiki karma (account: codito) in order to be able to edit Wiki pages. I feel like I can help with providing helpful examples or improve existing docs. In the future I'm most probably going to make RFCs too. For those who don't know me, here's my blog post abou