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
add bitset operations and tests
[hiphop-php.git]
/
hphp
/
test
/
slow
/
late_static_binding
/
1879.php
blob
a048429f7e2b6344a050d566b74102ae50581181
1
<
?php
2
3
class
X
{
4
static function
foo
() {
5
echo
"X::foo
\n
"
;
6
}
7
function
bar
() {
8
static
::
foo
();
9
}
10
}
11
class
Y
extends
X
{
12
static function
foo
() {
13
echo
"Y::foo
\n
"
;
14
}
15
function
baz
() {
16
X
::
bar
();
17
}
18
}
19
$y
=
new
Y
;
20
$y
->
baz
();
21
Y
::
baz
();