PHP Velho Oeste 2024

http_match_modified

(PECL pecl_http >= 0.1.0)

http_match_modifiedComprobar si coincide la última modificación

Descripción

bool http_match_modified ([ int $timestamp = -1 [, bool $for_range = false ]] )

Comprueba si coincide la fecha Unix proporcionada con las cabeceras HTTP del cliente If-Modified-Since If-Unmodified-Since.

Parámetros

timestamp

fecha Unix, o si se omite, la fecha actual

for_range

si es TRUE, se comprobará la cabecera normalmente usada para validar rangos HTTP

Valores devueltos

Devuelve TRUE si la fecha Unix corresponde a una fecha anterior a la de la cabecera, o si no FALSE.

Ver también

add a note add a note

User Contributed Notes

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