$latest = $latest > time() ? $latest : time(); ## With your Syntax Suger: $latest ?>:= time() ;