1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00
Files
archived-php-src/Zend/tests/bug47109.phpt
2019-10-02 10:34:08 +02:00

11 lines
238 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: Trying to get property 'ab' of non-object in %s on line %d