repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Refactor the parsing and processing of configuration options ... just a bit ...
[hiphop-php.git]
/
hphp
/
test
/
slow
/
array
/
empty-globals.php
blob
6fcc27b2fea28bf814505a206d4bec74a5ff433b
1
<
?hh
2
function
main
() {
3
$g
=
$GLOBALS
;
4
foreach
(
array_keys
(
$GLOBALS
)
as
$k
) {
5
unset
(
$GLOBALS
[
$k
]);
6
}
7
8
var_dump
(
$g
);
9
// This will say "true", which is intentionally divergent from PHP5.
10
var_dump
((
bool
)
$g
);
11
}
12
13
main
();