1--TEST--
2Test extract() function (variation 6)
3--FILE--
4<?php
5
6/* EXTR_REFS as second Argument */
7$a = array ('foo' => 'aaa');
8var_dump ( extract($a, EXTR_REFS));
9var_dump($foo);
10
11$b = $a;
12$b['foo'] = 'bbb';
13var_dump ( extract($a, EXTR_REFS));
14var_dump($foo);
15var_dump($a);
16
17echo "Done\n";
18?>
19--EXPECTF--
20int(1)
21string(3) "aaa"
22int(1)
23string(3) "bbb"
24array(1) {
25  ["foo"]=>
26  &string(3) "bbb"
27}
28Done
29