Dec 2, 2003 #1 solex Programmer Joined Feb 28, 2003 Messages 91 Location GB Hi, I want to add a peice of code in a php script to record the time taken to execute a section of code (a few lines) and out put it into a varable. Thanx for any help you can provide, solex
Hi, I want to add a peice of code in a php script to record the time taken to execute a section of code (a few lines) and out put it into a varable. Thanx for any help you can provide, solex
Dec 2, 2003 #2 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US Take a look at the sample code provided with the online documentation for microtime(): http://us3.php.net/manual/en/function.microtime.php Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
Take a look at the sample code provided with the online documentation for microtime(): http://us3.php.net/manual/en/function.microtime.php Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!