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_add_required.php
blob
8cfb42a6aaf97bf9adf05ff2decd19ea4fc78065
1
<
?hh
2
3
interface
DB
{
4
public function
query
(
$query
, ...
$params
);
5
}
6
7
class
MySQL
implements
DB
{
8
public function
query
(
$query
,
$foo
, ...
$params
) { }
9
}
10
11
<<
__EntryPoint
>>
12
function
main
():
void
{
13
echo
"Done.
\n
"
;
14
}