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
/
1880.php
blob
2165e37b1b03303faf4c13c6cb27cda883f316db
1
<
?php
2
3
function
f
() {
4
return true
;
5
}
6
if
(
f
()) {
7
class
A
{
8
static
$a
=
'A'
;
9
static function
f
() {
10
echo static
::
$a
;
11
}
12
function
g
() {
13
$this
->
f
();
14
}
15
}
16
}
17
else
{
18
class
A
{
19
}
20
}
21
class
B
extends
A
{
22
static
$a
=
'B'
;
23
}
24
$b
=
new
B
;
25
$b
->
g
();