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