Including PHP functions from another file
function, php
Solution
<?php
ob_start();
require 'filename.php';
ob_end_clean();
?>
Problem
I would like to access some functions defined in another PHP file, but that file also outputs content that I don't want to display. Is there any way to access the functions without "running" the whole file? Perhaps by redirecting the output from that file to somewhere hidden?