Here's what the relevant lines in the script do:
-
$AcmeCars = array ("Ford","Dodge","Chevy");
Creates the array variable @AcmeCars and places the "Ford", "Dodge", and "Chevy" values into the array.
-
foreach ($AcmeCars as $thisCar){
foreach tells the Web server to "loop" through the @AcmeCars array, going through each value in the array, one by one.
$thisCar is a variable: it tells the Web server to pull out each separate element in the @AcmeCars array.