The HttpResponse
HttpResponse::getBufferSize
The HttpResponse
PHP Manual

# HttpResponse::capture

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::capture — Capture script output

### Description

static void HttpResponse::capture ( void )

Capture script output.

### Examples

Example#1 A HttpResponse::capture() example

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

### See Also

- HttpResponse::send()

The HttpResponse
HttpResponse::getBufferSize
The HttpResponse
PHP Manual