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
/
inherit-static-local.php
blob
3809f4ad88cff341425ed873137a95692f271039
1
<
?hh
2
3
class
C
{
4
public static function
foo
() {
5
static
$x
=
0
;
6
++
$x
;
7
var_dump
(
$x
);
8
}
9
}
10
class
D
extends
C
{
11
public static function
callByParent
() {
12
parent
::
foo
();
13
}
14
}
15
16
C
::
foo
();
17
C
::
foo
();
18
C
::
foo
();
19
D
::
foo
();
20
D
::
foo
();
21
22
D
::
callByParent
();
23
D
::
callByParent
();