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
Handle this typehints
[hiphop-php.git]
/
hphp
/
test
/
quick
/
impl_abstract_dv_3a.php
blob
58826ed7a72786584a2ac89f103a37944e7ccfae
1
<
?hh
2
abstract class
A
{
abstract public function
foo
(
int
$x
); }
3
interface
I
{
function
foo
(
int
$x
); }
4
abstract class
B
extends
A
implements
I
{ }
5
class
C
extends
B
{
public function
foo
(
array
$x
=
null
) {} }
6
$c
=
new
C
;
7
$c
->
foo
(
null
);
8
echo
"OK
\n
"
;
9