PHP Code Execution Timing Script

/ Published in: PHP
Save to your folder(s)

Place startTime() at beginning where timing is to start. Get the return value and set the start time variable. At end of script to time call execTime($start) passing the start time and this will calculate elapsed time of execution.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.