1--TEST--
2Refcount of constant LHS with nullsafe operator
3--FILE--
4<?php
5['']?->a;
6__DIR__?->a;
7?>
8--EXPECTF--
9Warning: Attempt to read property "a" on array in %s on line %d
10
11Warning: Attempt to read property "a" on string in %s on line %d
12