HTTP 函数
PHP 手册

http_send_last_modified

(PECL pecl_http >= 0.1.0)

http_send_last_modifiedSend Last-Modified

说明

bool http_send_last_modified ([ int $timestamp ] )

Send a Last-Modified header with a valid HTTP date.

Note: This function should be used in conjunction with http_send_data(), http_send_file()http_send_stream().

参数

timestamp

a Unix timestamp, converted to a valid HTTP date; if omitted, the current time will be sent

返回值

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

参见


HTTP 函数
PHP 手册