title: How do I capture the result of an echo() into a variable in PHP?
body: <p>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 already been output, and output buffering is not being used.)</p>