回php_cookbook
##3.1陣列宣告
##3.2 印出陣列內容
Emily,Jesse,Franklin,ChrisEmily
Jesse
Franklin
Chris
##3.3 除去相同的陣列元素
##3.4 擴大或縮小陣列
0: =>dog
1: =>cat
2: =>rabbit
3: =>ant
4: =>horse
dog
cat
rabbit
ant
horse
##3.5 合併陣列
0: =>Gandalf
1: =>Radagast
2: =>Sarauman
0: =>Nazgul
1: =>Sauron
2: =>Orcs
0: =>Gandalf
1: =>Radagast
2: =>Sarauman
3: =>Nazgul
4: =>Sauron
5: =>Orcs
##3.6 反覆處理陣列元素
0: =>0
1: =>87
2: =>104
3: =>97
4: =>116
5: =>32
6: =>85
7: =>112
8: =>32
9: =>101
10: =>118
11: =>101
12: =>114
13: =>121
14: =>111
15: =>110
16: =>101
17: =>32
18: =>0
##3.7 存取陣列內不同區域
##3.11 隨機排列陣列中的元素
26
##3.13 陣列排序
PhilOwes9
WernerOwes38
KrisOwes15
DaveOwes12
JohnOwes31
##3.14 以有意義的方式排序
0: =>file001.txt
1: =>file002.txt
4: =>file005.txt
2: =>file011.txt
3: =>file021.txt
5: =>file023.txt