8 Foreach loop in PHP Atharva Satyendra Agrawal January 16, 2020 Atharva Satyendra Agrawal Program: <?php $arr = array(1,2,3,4,5); foreach ($arr as $value) { echo $value." "; } ?> Output: Tweet Share Share Share Related Post