<?php $fruits = ['Apple', 'Banana', 'Orange', 'Mango']; // foreach loop foreach ($fruits as $fruit) { echo $fruit . '<br>'; }