--TEST-- Test nullsafe property on reference --FILE-- bar = 'bar'; $fooRef = &$foo; var_dump($fooRef?->bar); ?> --EXPECT-- string(3) "bar"