xref: /PHP-7.4/Zend/tests/pow_array_leak.phpt (revision ab938d7b)
1--TEST--
2Memory leak on ** with result==op1 array
3--FILE--
4<?php
5
6$x = [0];
7$x **= 1;
8var_dump($x);
9
10$x = [0];
11$x **= $x;
12var_dump($x);
13
14?>
15--EXPECT--
16int(0)
17int(0)
18