mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
long-requested functionality, now that output buffering is re-entrant:
function eval_ret($code)
{
ob_start();
eval($code);
$retval = ob_get_contents();
ob_end_clean();
return $retval;
}