<?php function link($link,$title) { echo "<a href='$link'>$title</a>"; } echo "<br>"; link('http://vkontakte.ru','ВКонтакте') ?>