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