function - Determine how long PHP executed so far -


i need determine how long php function has been running far.

what options find out how long php code takes run?

i'm using zend framework.

call microtime(true) function fetch current time milisecond resolution.

<?php $starttime = microtime(true);  /*stuff going on*/  echo "elapsed time is: ". (microtime(true) - $starttime) ." seconds"; 

Comments

Popular posts from this blog

android - Cannot use ndk-build on Cygwin -

sql server - python to mssql encoding problem -

c# - BasicHttpBinding equivalent CustomBinding using WCF Client and PHP WebService -