Issue Bug Closed

#20683Use $_SERVER['REQUEST_TIME'] instead of time() where it makes sense

Niels Pardon 06/26/09, 22:37 updated 08/06/10, 13:26

Description

Performance improvement tip from:
http://ilia.ws/files/phptek2007_performance.pdf

time() is a function call whereas $_SERVER[‘REQUEST_TIME’] is a static variable which should be fast than the function call.

(issue imported from #M11430)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.