xref: /PHP-7.4/Zend/tests/bug52001.phpt (revision cac310d8)
1--TEST--
2Bug #52001 (Memory allocation problems after using variable variables)
3--FILE--
4<?php
5a(0,$$var);
6
7$temp1=1;
8$temp2=2;
9var_dump($temp1);
10
11function a($b,$c) {}
12?>
13--EXPECTF--
14Notice: Undefined variable: var in %sbug52001.php on line 2
15
16Notice: Undefined variable:  in %sbug52001.php on line 2
17int(1)
18