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
Fix zend tests to stop using $GLOBALS
[hiphop-php.git]
/
hphp
/
hack
/
test
/
full_fidelity
/
cases
/
globals.php
blob
f3d35fd156682a567a995e39d6ae501d61780f63
1
<
?hh
// partial
2
3
4
function
f
(
$_
) {}
5
function
g
() {
6
f
(
$GLOBALS
[
'derp'
]);
// ok
7
f
(
$GLOBALS
);
// not ok
8
}