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
Several XHP autocomplete fixes
[hiphop-php.git]
/
hphp
/
hack
/
test
/
format
/
dict.php.exp
blob
eff41f40b05b00d14a844d2d24337db96196606e
1
<
?hh
2
//
Copyright
2004
-
present Facebook. All Rights
Reserved
.
3
4
$dict
=
dict
[];
5
$dict
=
dict
[
1
=>
1
];
6
$dict
=
dict
[
'1'
=>
'1'
];
7
$dict
=
dict
[
'1'
=>
'1'
,
2
=>
2
];
8
$dict
=
dict
[
dict
[
dict
[]]];
9
10
$dict
=
dict
();
11
$dict
=
dict
(
$dict
);
12
13
foo
()->
dict
();
14
foo
()->
dict
(
$dict
);
15
16
Foo
::
dict
();
17
Foo
::
dict
(
$dict
);
18
19
$dict
=
Dict\count_values
(
$dict
);