xref: /PHP-7.4/Zend/tests/bug72911.phpt (revision 8b7cdbaa)
1--TEST--
2Bug #72911 (Memleak in zend_binary_assign_op_obj_helper)
3--FILE--
4<?php
5
6$a = 0;
7
8$b = $a->b->i -= 0;
9
10var_dump($b);
11
12?>
13--EXPECTF--
14Warning: Attempt to modify property 'b' of non-object in %sbug72911.php on line %d
15NULL
16