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-read.php
blob
87b3706aebbd3c3c891243a1230763c57282f47f
1
<
?hh
// partial
2
3
4
function
g
() {
5
$y
=
$GLOBALS
[
'foo'
];
// ok
6
$x
=
$GLOBALS
;
// not ok
7
}