for example:
$numbers = array(1, 2, 3, 4, 5);
foreach($numbers as $value)
{
echo $value;
}
what does as
do, I assume it's a keyword because it is highlighted as one in my text editor. I checked the keyword list at http://www.php.net/manual/en/reserved.keywords.php and the as
keyword was present. It linked to the foreach
construct page, and from what I could tell didn't describe what the as
keyword did. Does this as
keyword have other uses or is it just used in the foreach
construct?