.Maui Blog

PHP – Get execution time of the script

<?php
    // Your Script here.
    $time = microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"];
    echo "Execution Time: {$time}";
    // Execution Time: 1.5140309333801 
Exit mobile version