. . . 132
Testing for an Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Adding and Removing Array Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Adding a Value to the Front of an Array . . . . . . . . . . . . . . . . . . . . . . 135
Adding a Value onto the End of an Array . . . . . . . . . . . . . . . . . . . . . 135
Removing a Value from the Front of an Array . . . . . . . . . . . . . . . . . 135
Removing a Value from the End of an Array . . . . . . . . . . . . . . . . . . 136
x ?– CONTENTS
Locating Array Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Searching an Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Retrieving Array Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Retrieving Array Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Traversing Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Retrieving the Current Array Key. . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Retrieving the Current Array Value . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Retrieving the Current Array Key and Value. . . . . . . . . . . . . . . . . . . 140
Moving the Array Pointer . . . . . . . . . . . .
Pages:
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26