1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 01:53:36 +02:00
Files
archived-php-src/Zend/tests/bug74084.phpt
2018-10-14 19:45:12 +02:00

20 lines
298 B
PHP

--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)