I\'m using a PHP library that echoes a result rather than returns it. Is there an easy way to capture the output from echo/print and store it in a variable? (Other text has
The only way I know.
ob_start(); echo "Some String"; $var = ob_get_clean();