xref: /PHP-8.2/ext/standard/tests/array/bug70910.phpt (revision 7aacc705)
1--TEST--
2Bug #70910 (extract() breaks variable references)
3--FILE--
4<?php
5$var = 'original value';
6$ref =& $var;
7
8$hash = ['var' => 'new value'];
9
10extract($hash);
11var_dump($var === $ref);
12?>
13--EXPECT--
14bool(true)
15