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
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
asm_newstructarray.hhas
blob
0615e3dbf5f1c494259cfc8a904da5f7547c2f79
1
#
2
# NewStructArray
3
#
4
5
.main {
6
FPushFuncD 0 "main"
7
FCall <> 0 1 "" - "" ""
8
RetC
9
}
10
11
.function main() {
12
Int 1
13
String "two"
14
Double 3.1415
15
Int 4
16
NewStructArray <"one" "two" "three" "four">
17
SetL $arr
18
PopC
19
20
FPushFuncD 1 "var_dump"
21
CGetL $arr
22
FCall <> 1 1 "" - "" ""
23
PopC
24
25
Int 1
26
RetC
27
}