The HttpResponse
HttpResponse::getBufferSize
The HttpResponse
PHP Manual

# HttpResponse::capture

(PECL pecl_http >= 0.10.0)

HttpResponse::capture — Capture script output

### Descrição

static void HttpResponse::capture ( void )

Capture script output.

### Exemplos

Exemplo #1 A HttpResponse::capture() example

`<?php
HttpResponse::setCache(true);
HttpResponse::capture();
// script follows
?>`

### Veja Também

- HttpResponse::send - Send response

The HttpResponse
HttpResponse::getBufferSize
The HttpResponse
PHP Manual