Re: [PHP-DEV] Re: New operator suggestion

2021-09-04 Thread David Kolář - Micropro Software
t;prop2 ??: '' Do you get it? Just a shorthand for this: $var->prop1?->prop2 === null ? $var->prop1->prop2 : ''; Which any of suggested current solutions can't do. David On 05.09.2021 0:42, Ben Ramsey wrote: David Kolář wrote on 9/4/21 17:19: Back to the suggestion - I sug

[PHP-DEV] New operator suggestion

2021-09-04 Thread David Kolář
to create an RFC for this? I never did an RFC yet and has not much experience with C++, since I am mostly Delphi/PHP/JS developer, but I might try. Still, I would appreciate a help from someone willing and experienced in RFC creation. Thank you in advance for your opinions, David Kolář -- PH