1--TEST--
2Test extract() function (variation 1)
3--FILE--
4<?php
5
6$val = 4;
7$str = "John";
8
9var_dump($val);
10var_dump($str);
11
12/* Extracting Global Variables */
13var_dump(extract($GLOBALS, EXTR_REFS));
14var_dump($val);
15var_dump($str);
16
17echo "\nDone";
18?>
19--EXPECTF--
20int(4)
21string(4) "John"
22int(%d)
23int(4)
24string(4) "John"
25
26Done
27