time to load php page

Solutions on MaxInterview for time to load php page by the best coders in the world

showing results for - "time to load php page"
Nestor
16 Oct 2019
1//Put this code at beginning of your page:
2<?php $start_time = microtime(true); ?>
3   
4//Put this code at the end of your page:
5This page was generated in <?php echo(number_format(microtime(true) - $start_time, 2)); ?> seconds.