Validar la marca de tiempo PHP

function isValidTimestamp($timestamp)
{
   return ((string) (int) $timestamp === $timestamp)
       && ($timestamp <= PHP_INT_MAX)
       && ($timestamp >= ~PHP_INT_MAX);
}
Zeevx