How to find my code execution time?
I am using the below snippet.
I am not happy with that?
list ($msec, $sec) = explode(\' \', microtime()); $mi
If you want to profile your script, use XDebug + {K,Win}Cachegrind, these are free tools that provide a visual map of your code's execution.