Re: [PHP-DEV] Re: PHP RFC: Nullsafe Calls

2019-06-04 Thread Mark Randall
On 04/06/2019 20:05, AllenJB wrote: Common use cases I can think of would be parameters in a method call, which with null safe calls would be:   $m->n($x?->y()?->z()); AllenJB You bring up many good points about the (extremely hastily) composed syntax suggestion for short catch blocks, and

Re: [PHP-DEV] Re: PHP RFC: Nullsafe Calls

2019-06-04 Thread AllenJB
On 03/06/2019 23:52, Mark Randall wrote: On 03/06/2019 09:28, Jean-Baptiste DELHOMMEAU wrote: I would like to  awaken the discussion around the RFC Nullsage Calls : https://wiki.php.net/rfc/nullsafe_calls Personally, I have my suspicions that PHP is starting to expose itself to operator

[PHP-DEV] Re: PHP RFC: Nullsafe Calls

2019-06-03 Thread Mark Randall
On 03/06/2019 09:28, Jean-Baptiste DELHOMMEAU wrote: I would like to awaken the discussion around the RFC Nullsage Calls : https://wiki.php.net/rfc/nullsafe_calls Personally, I have my suspicions that PHP is starting to expose itself to operator fatigue. There have been quite a few