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

2022-03-20 Thread Rowan Tommins
On 18/03/2022 17:49, Paul Dragoonis wrote: Writing code in strings is a DX nightmare Can you expand a bit on what you mean by that? It seems to be common to assert the opposite, that string interpolation is much more convenient than the alternatives. Looking around, it seems nearly all cu

Re: [PHP-DEV] Code syntax

2022-03-20 Thread Larry Garfield
On Sat, Mar 19, 2022, at 5:26 PM, Wojciech Lisik wrote: > Shouldn't we be allowed to use syntax for markdown in our messages here > on this list? It's an email list. It supports whatever an email list supports. Use Markdown-ish if you feel like it, just don't use HTML. --Larry Garfield -- P

Re: [PHP-DEV] [RFC] Disjunctive Normal Form Types

2022-03-20 Thread Levi Morrison via internals
> DNF types are a way to mix intersection and union types together in a > single type. > For example: > [...] > - (Traversable&Countable)|array I have yet to read the fine print, but this example was a motivating case for me to start down the union-types road years ago. I would be very happy to