The HttpResponse
PHP 手册

HttpResponse::setLastModified

(PECL pecl_http >= 0.12.0)

HttpResponse::setLastModifiedSet last modified

说明

static bool HttpResponse::setLastModified ( int $timestamp )

Set a custom Last-Modified date.

参数

timestamp

Unix timestamp representing the last modification time of the sent entity

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


The HttpResponse
PHP 手册