#main

---
// for 未支持类型标注
for key Int, val Int in vt1 {
	//
}
---

#php range(start Int, end Int, step = 1) Array

list = [
	"k1": "hi",
	"k2": "hello",
]

// for-in
for value in list {
	print value, ','
}

echo

// for-in-else
for k, v in list {
	// do sth.
}
elseif true {
	//
}
else {
	//
}

// for-to
for i = 0 to 9 {
	// i = 10	// error, i is a final value variable
	i + 3
	print i, ','
}
else {
	echo 'no loops'
}

echo

// for-downto
for i = 9 * 2 downto 0 + 5 step 2 {
	print i, ','
}
elseif list {
	print 'oh!'
}
catch ex {
	//
}
finally {
	//
}

echo
