> $foo[?'maynotexist'] // returns null and emits no warning
In JS we have some like:
foo['maynotexist']
foo?.['maynotexist']
In PHP could be:
$foo['maynotexist']
$foo?->['maynotexist']
Atenciosamente,
David Rodrigues
Em sex., 15 de abr. de 2022 às 18:41, Mark Randall
escreveu:
> On
On 06/04/2022 19:38, Larry Garfield wrote:
On the last point, regarding stdClass, I think the question is whether we want
it to be consistent with classed object properties (throw) or with associative
arrays (warnings). stdClass is kind of an uncomfortable middle between those
two. I'm not