array in array php foreach example

PHP
$clothes = array("hat","shoe","shirt");
foreach ($clothes as $item) {
	echo $item;
}
Source

Also in PHP: