php-src/Zend/tests/bug47109.phpt
2020-07-10 21:05:28 +02:00

11 lines
234 B
PHP

--TEST--
Bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object)
--FILE--
<?php
$a->{"a"."b"};
?>
--EXPECTF--
Warning: Undefined variable $a in %s on line %d
Warning: Attempt to read property "ab" on null in %s on line %d