The HttpResponse
PHP Manual

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 Manual