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
No error on use of `unsafe_cast`
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
call_in_static_darray.php
blob
a581e08b048fe298cc7de1b22d8a8ceef008fd4a
1
<
?hh
// partial
2
3
class
C
{
4
public static function
f
() {
5
return
"lol"
;
6
}
7
static
$x
=
darray
[
'a'
=>
C
::
f
()];
8
}