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
Updating submodules
[hiphop-php.git]
/
hphp
/
test
/
slow
/
reified-call.php
blob
dcdcf9fd9ad3fcf29bdc5504550d8f2f196565c8
1
<
?hh
2
3
function
foo
<
reify T
>() {
T
::
bar
(); }
4
class
C
{
public static function
bar
() {
echo
"ok
\n
"
; } }
5
6
<<
__EntryPoint
>>
7
function
main
() {
8
foo
<
C
>();
9
}