pero, tiene mecanismos muy divertidos como: ob_start(); // Start output buffering
// llamar a ejecutar todo y recogerlo con
$contents = ob_get_contents(); // Get the contents of the buffer
ob_end_clean(); // cerrar el buffer y liberar memoria
return $contents;