xref: /PHP-8.2/Zend/tests/bug81216.phpt (revision 307e476e)
1--TEST--
2Bug #81216: Nullsafe operator leaks dynamic property name
3--FILE--
4<?php
5$str = "foo";
6null?->{$str . "bar"};
7?>
8DONE
9--EXPECT--
10DONE
11