- substr: documentation ( source)
- ob_get_clean: documentation ( source)
- get_defined_functions: documentation ( source)
- ob_start: documentation ( source)
<?php
ob_start();
$functions = get_defined_functions();
foreach($functions["internal"] as $function) echo "<li>$function</li>";
$s=ob_get_clean();
echo substr($s, -500);