xref: /PHP-8.0/Zend/tests/bug47109.phpt (revision d30cd7d7)
1--TEST--
2Bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object)
3--FILE--
4<?php
5$a->{"a"."b"};
6?>
7--EXPECTF--
8Warning: Undefined variable $a in %s on line %d
9
10Warning: Attempt to read property "ab" on null in %s on line %d
11