<?php ob_get_contents(): string|false
<?php $response = $gateway->handle($request); $output = ob_get_contents(); ob_end_clean();