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
/
hack
/
test
/
typecheck
/
function_pointer
/
bad_syntax2.php
blob
87c9e3a39b55d410bc7d13f89f6a8c4aa83954e8
1
<
?hh
2
3
final class
Foo
{
4
public function
bar
(
int
$x
):
void
{}
5
}
6
7
function
qux
():
void
{
8
$z
=
new
Foo
();
9
$y
=
'bar'
;
10
$x
=
$z
->
$y
<>;
11
$x
(
4
);
12
}
13
14
<<
__EntryPoint
>>
15
function
main
():
void
{
16
qux
();
17
}