Refactor the parsing and processing of configuration options ... just a bit ...
[hiphop-php.git] / hphp / test / slow / array / empty-globals.php
blob6fcc27b2fea28bf814505a206d4bec74a5ff433b
1 <?hh
2 function main() {
3 $g = $GLOBALS;
4 foreach (array_keys($GLOBALS) as $k) {
5 unset($GLOBALS[$k]);
8 var_dump($g);
9 // This will say "true", which is intentionally divergent from PHP5.
10 var_dump((bool)$g);
13 main();