Handle this typehints
[hiphop-php.git] / hphp / test / slow / vec / new-like-array.hhas
blobeebe5d047fbb77b7a99715e47ce14ef428b828f8
2 # NewLikeArray on hack arrays should create a PHP array
5 .main {
6   FPushFuncD 0 "main"
7   FCall 0
8   PopR
9   Int 1
10   RetC
13 .function main {
14           Int 1
15           Int 2
16           Int 3
17           NewVecArray 3
18           SetL $v
19           PopC
20           FPushFuncD 1 "var_dump"
21           NewLikeArrayL $v 3
22           FPassC 0 Any
23           FCall 1
24           PopR
25           True
26           RetC