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
move HQServerTransportFactory to HQServer.h
[hiphop-php.git]
/
hphp
/
test
/
slow
/
variable_argument
/
21.php
blob
e77ed087289fd34b0bf8583fbeccee0785ab14c9
1
<
?hh
2
3
function
test
(
$a
,
$b
=
10
, ...
$more_args
) :
mixed
{
4
var_dump
(
$a
);
5
var_dump
(
$b
);
6
var_dump
(
array_merge
(
vec
[
$a
,
$b
],
$more_args
));
7
}
8
9
<<
__EntryPoint
>>
10
function
main_21
() :
mixed
{
11
test
(
1
);
12
test
(
1
,
2
);
13
test
(
1
,
2
,
3
);
14
}