PHP code example of jsanc623 / phpbenchtime

1. Go to this page and download the library: Download jsanc623/phpbenchtime library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jsanc623 / phpbenchtime example snippets



use PHPBenchTime\Timer;
$T = new Timer;

$time = $T->end();

$time = $T->end();