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

參見

add a note add a note

User Contributed Notes

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