PHP code example of ogzcakar / basic-process-time

1. Go to this page and download the library: Download ogzcakar/basic-process-time 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/ */

    

ogzcakar / basic-process-time example snippets




processTime('testKey');

for ($i = 0; $i <= 200000000; $i++){}

echo processTime('testKey');



processTime('testFile');

for ($i = 0; $i <= 200000000; $i++){}

processTime('testFile', 'fileName.txt'); // Or echo processTime('testFile', 'fileName.txt');