MCQs > IT & Programming > PHP > Correct way to profile a PHP function (without relying on 3rd party libraries and/or PHP extensions)?

PHP MCQs

Which is the correct way to profile a PHP function (without relying on 3rd party libraries and/or PHP extensions)?

Answer

Correct Answer: $start = microtime(); functionToProfile(); $end = microtime(); $duration = $end - start;

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it