1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-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