summaryrefslogtreecommitdiff
path: root/Zend/tests/bug72911.phpt
blob: 098261cadf21cf02a505d12714a71a63f15cd87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Bug #72911 (Memleak in zend_binary_assign_op_obj_helper)
--FILE--
<?php

$a = 0;

$b = $a->b->i -= 0;

var_dump($b);

?>
--EXPECTF--
Warning: Attempt to modify property of non-object in %sbug72911.php on line %d

Warning: Attempt to assign property of non-object in %sbug72911.php on line %d
NULL