HttpResponse
PHP 手册

HttpResponse::capture

(PECL pecl_http >= 0.10.0)

HttpResponse::captureCapture script output

说明

static void HttpResponse::capture ( void )

Capture script output.

范例

Example #1 A HttpResponse::capture() example

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

参见


HttpResponse
PHP 手册