PHP 5: Little Timer Andrey Nikishaev (contact me)
This is a simple class that can be used to measure the time a script takes to execute.
It can store the current time at a different moments in a class variable.
Later it can retrieve the time at each of the moments, so the PHP application can determine the time that passed between two moments by calculating the difference between the two times.