PHP Velho Oeste 2024

HttpResponse::capture

(PECL pecl_http >= 0.10.0)

HttpResponse::captureスクリプトの出力を取り込む

説明

static void HttpResponse::capture ( void )

スクリプトの出力を取り込みます。

例1 HttpResponse::capture() の例

<?php
HttpResponse
::setCache(true);
HttpResponse::capture();
// この後にスクリプトが続きます
?>

参考

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top