xref: /PHP-7.2/ext/standard/tests/array/bug70910.phpt (revision fce44a5a)
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--EXPECT--
13bool(true)
14