HTML
CSS
PHP
Deno
Examples
Do It Yourself
Blog
Type in your code below
Run
<?php $animals = ["goat","cow","hen","rat","dog","cat"]; // the <br> tag adds a new line foreach($animals as $animal) { echo "<br>$animal "; } ?>