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
Allow function pointer builtins in constant initializers
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
func_ptr_in_constants
/
custom_function.php
blob
6e667de835a4897fdc1bdfa0821bc0f46f11fcf4
1
<
?hh
// partial
2
3
function
foo
() {}
4
5
class
A
{
6
public static
$arr
=
foo
();
7
}
8
9
abstract class
B
{
10
const
const_arr
=
foo
();
11
}