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

sql server - python to mssql encoding problem -

java - SNMP4J General Variable Binding Error -

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