xref: /PHP-8.2/Zend/tests/bug52001.phpt (revision 36935e42)
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--
14Warning: Undefined variable $var in %s on line %d
15
16Warning: Undefined variable $ in %s on line %d
17int(1)
18