On 27.07.2024 at 09:00, Bilge wrote: > On 26/07/2024 23:42, Christoph M. Becker wrote: > >> I have only skimmed your suggestion, but it sounds quite similar to >> <https://wiki.php.net/rfc/skipparams>. > > Yes, it appears to be exactly that. > > I suppose that means there is no hope of pursuing this, since the vote > 9.5 years ago was such a total blowout?
Not necessarily. It makes probably sense to also check the related discussions on the mailing list, which do not appear to be listed in the RFC, but searching for "Skipping optional parameters for functions" on <https://externals.io/> gives some results. I havent't looked closely into these discussions, but apparently one reason why several people didn't like the proposal was that PHP should have named function arguments. If a new RFC can make a good point why `default` still would make sense despite PHP having named function arguments, the proposal might be seen in a different light. Personally, I'm rather neutral on the idea. Cheers, Christoph