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

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -