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
make `Switch` constructor more precise
[hiphop-php.git]
/
hphp
/
test
/
slow
/
xhp
/
xhp_spread_default.php
blob
7a1a585d5c0834fb86a1ff96b83cf16a4dc90374
1
<
?hh
// strict
2
3
class
:
bar
{
4
attribute
string
name
;
5
}
6
7
function
foo
(
$x
= <
bar
{...<
bar name
=
"foo"
/>} />) { }
8
9
<<
__EntryPoint
>>
function
main
():
void
{
echo
"Done.
\n
"
; }