PHP Code:
<?php
function print_functions($file)
{
echo "<h1>Functions in $file</h1>";
$file = highlight_file($file,true);
$functions = explode('<font color="#007700">function </font><font color="#0000BB">',$file);
unset($functions[0]);
foreach ($functions AS $function)
{
$name=explode('</font>',$function);
echo $name[0].'<br />';
}
}
print_functions('./vb354/includes/functions.php');
?>
Best I can come up wiht without spending too much time on it.