Null-safe property access in interpolated strings

From: Date: Sat, 08 Aug 2020 22:17:35 +0000
Subject: Null-safe property access in interpolated strings
Groups: php.internals 
Request: Send a blank email to internals+get-111383@lists.php.net to get a copy of this message
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

« previous php.internals (#111383) next »