<?php
$images = [
'apple', 'bananas', 'blackberries', 'cherry', 'kiwi',
'lemon', 'orange', 'pear', 'pineapple', 'watermelon'
];
foreach( $images as $image ) {
?>
<img src="//php.danq.dev/img/fruit/<?php echo $image; ?>.jpg"
alt="<?php echo $image; ?>"
width="200"
height="200"
style="border: 1px solid black;">
<?php
}