1--TEST-- 2Test fetch nested nullsafe property by ref 3--FILE-- 4<?php 5 6$foo = null; 7$ref = &$foo?->bar->baz; 8 9?> 10--EXPECTF-- 11Fatal error: Cannot take reference of a nullsafe chain in %s.php on line 4 12