<?php
function showAd()
{
echo ‘———-‘ . PHP_EOL;
echo ‘— Ad —‘ . PHP_EOL;
echo ‘———-‘ . PHP_EOL;
}
showAd();
echo ‘Tom is great!’ . PHP_EOL;
echo ‘Bob is great!’ . PHP_EOL;
showAd();
echo ‘Steve is great!’ . PHP_EOL;
echo ‘Bob is great!’ . PHP_EOL;
showAd();