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
/
slow
/
vec
/
new-like-array.hhas
blob
eebe5d047fbb77b7a99715e47ce14ef428b828f8
1
#
2
# NewLikeArray on hack arrays should create a PHP array
3
#
4
5
.main {
6
FPushFuncD 0 "main"
7
FCall 0
8
PopR
9
Int 1
10
RetC
11
}
12
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
27
}