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
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
BindS_ref.php
blob
9bb2cca7a847e7d65ec139b0665663eca34ab865
1
<
?hh
2
3
class
Foo
{
4
public static
$x
;
5
6
function
f
() {
7
$x
=
array
();
8
Foo
::
$x
=&
$x
;
9
Foo
::
$x
[
0
] =
12
;
10
echo
$x
[
0
] .
"
\n
"
;
11
}
12
}
13
$y
=
new
Foo
();
14
$y
->
f
();
15
echo
"done
\n
"
;