mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
20 lines
298 B
PHP
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)
|