- printf: documentation ( source)
<?php
$sites = [['title' => 'Google'], ['title' => 'Bing']];
$links = [['link' => 'www.example1.com'], ['link' => 'www.example2.com']];
foreach ($sites as $index => ['title' => $title]) {
printf('%s - <a href="%s">See website</a></br>', $title, $links[$index]['link']);
echo "\n"; // <-- for separation since this demo is not rendered html
}