PHP manual states that time() returns \"the current UNIX timestamp\" ᴀ and microtime() returns the \"curre
time()
microtime()
time() just returns the UNIX-Timestamp. This means, that it is not affected by leap seconds (and such), because you will never "lose" time, just because someone decided it. Only textual representations (e.g. created using date()) are affected.
date()