summaryrefslogtreecommitdiff
path: root/Zend/tests/bug74084.phpt
blob: b27bbb4647efd2e4af42ce5d9e4b3980906d6a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #74084 (Out of bound read - zend_mm_alloc_small)
--INI--
error_reporting=0
--FILE--
<?php
$$A += $$B->a = &$$C; 
unset($$A);
$$A -= $$B->a = &$$C; 
unset($$A);
$$A *= $$B->a = &$$C; 
unset($$A);
$$A /= $$B->a = &$$C; 
unset($$A);
$$A **= $$B->a = &$$C; 
var_dump($$A);
?>
--EXPECT--
int(1)