mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
11 lines
143 B
PHP
11 lines
143 B
PHP
--TEST--
|
|
Bug #81216: Nullsafe operator leaks dynamic property name
|
|
--FILE--
|
|
<?php
|
|
$str = "foo";
|
|
null?->{$str . "bar"};
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
DONE
|