functions

Simple and flexible PHP execution-time tracking

This is a simple function that always comes in very handy in debugging and logging PHP code. ExecTime() keeps track of one or more processes, and can round the result up to your desired level of decimal point precision.

ExecTime() starts counting the first time you call it, and from that point on it returns the elapsed time every time you call it again.

Syndicate content