What are the good uses cases for this to work?

On Sun, Aug 9, 2020 at 8:48 AM Marco Pivetta <ocram...@gmail.com> wrote:

> On Sun, Aug 9, 2020, 00:17 Sara Golemon <poll...@php.net> wrote:
>
> > Do we expect this to work?
> >
> > $foo = new stdClass;
> > $foo->bar = "Hello";
> > echo "$foo?->bar world\n";
> >
> > Because at the moment it doesn't: https://3v4l.org/nLv3l
> >
> > -Sara
> >
>
> Ooof, people still interpolate strings that way?
>
> Good riddance if it doesn't work: this code is questionable (and not just
> because of the question mark in it) 👍
>
> >
>

Reply via email to