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-write.php
blob
5845bb99075a034f478247ab9ac4768609797a59
1
<
?hh
// partial
2
3
function
g
() {
4
$GLOBALS
[
'derp'
] =
null
;
// ok
5
$GLOBALS
=
null
;
// not ok
6
}