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
/
test
/
slow
/
inout
/
bad-arg-pipe.php
blob
842303c76fd622525acb973d3e003de8a486dca3
1
<
?hh
2
3
class
C
{
4
public static function
f
(
inout
mixed
$x
) :
mixed
{
5
var_dump
(
$x
);
6
}
7
public function
g
() :
mixed
{
8
1
|
>
C
::
f
(
inout $$
);
9
}
10
}
11
12
<<
__EntryPoint
>>
13
function
main
():
mixed
{
14
(
new
C
)->
g
();
15
}
16