On Wed, Oct 30, 2019 at 7:35 AM Peter Bowyer <phpmailingli...@gmail.com> wrote:
> On Fri, 25 Oct 2019 at 00:28, Sara Golemon <poll...@php.net> wrote: > >> At the risk of hijacking, @matthewrask asked me about ?-> a couple weeks >> ago (Javascript is making this one popular), and I threw together a rough >> PoC at >> https://github.com/php/php-src/compare/master...sgolemon:null-coalesce >> which >> I suspect he intends to RFC properly soon. As long as the topic is at >> hand, what's the general appetite for it? Should I bother polishing the >> turd? >> > > It would be the best Christmas present ever. > > Well. Almost. > > Peter > Folks, I haven't forgotten about this; in fact, I've been thinking about it all weekend, and I cannot come up with a good use-case that hasn't already been shown to have either a viable current work-around, or an RFC (with code already written) that would give me what I was looking to do with my !?? operator syntax. So, with that said, I see no reason to further the discussion on a not-null coalescing operator. I do want to thank everybody for their kind and thoughtful feedback. You really made me think about this, and I enjoyed it. I will continue to look for something I can cut my teeth on as a first-time contribution to php core. - Ken Stanley