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
Handle this typehints
[hiphop-php.git]
/
hphp
/
test
/
slow
/
closure
/
bind-null.php
blob
a36c41fd5565a613f5080be96b01c7f73e333bd1
1
<
?php
2
3
class
X
{
4
static function
test
() {
5
$f
=
function
() {
get_called_class
(); };
6
$g
=
$f
->
bindto
(
null
,
null
);
7
return
$g
;
8
}
9
}
10
11
$f
=
X
::
test
();
12
$f
();