HTTP_MATCH_MODIFIED(3) 1 HTTP_MATCH_MODIFIED(3)
http_match_modified - Match last modification
SYNOPSIS
bool http_match_modified ([int $timestamp = -1], [bool $for_range = false])
DESCRIPTION
Matches the given Unix timestamp against the clients If-Modified-Since resp. If-Unmodified-Since HTTP headers.
PARAMETERS
o $timestamp
- Unix timestamp; current time, if omitted
o $for_range
- if set to TRUE, the header usually used to validate HTTP ranges will be checked
RETURN VALUES
Returns TRUE if timestamp represents an earlier date than the header, else FALSE.
SEE ALSO
http_match_etag(3), http_match_request_header(3), http_cache_etag(3), http_cache_last_modified(3).
PHP Documentation Group HTTP_MATCH_MODIFIED(3)