php-src/Zend/tests/bug81216.phpt
2021-12-04 18:04:24 +03:00

11 lines
143 B
PHP

--TEST--
Bug #81216: Nullsafe operator leaks dynamic property name
--FILE--
<?php
$str = "foo";
null?->{$str . "bar"};
?>
DONE
--EXPECT--
DONE