http_match_etag

Example

 bool http_match_etag ( string $etag [, bool $for_range = false ] ) 

Description

Matches the given ETag against the clients If-Match resp. If-None-Match HTTP headers.

Return Values

Returns TRUE if ETag matches or the header contained the asterisk ("*"), else FALSE.