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
Add trivial entry points to various tests
[hiphop-php.git]
/
hphp
/
test
/
slow
/
variadic_args
/
method_compat
/
bad_make_non_var.php
blob
a01cb0b1b3f5d1ca4df7d4581a9bfddbee6468d4
1
<
?hh
2
3
interface
DB
{
4
public function
query
(
$query
, ...
$params
);
5
}
6
7
class
MySQL
implements
DB
{
8
public function
query
(
$query
) {}
9
}
10
11
<<
__EntryPoint
>>
12
function
main
():
void
{
13
echo
"Done.
\n
"
;
14
}