3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time_start = microtime(true); echo password_hash('password', 1, ['memory_cost' => 1<<14, 'time_cost' => 20, 'threads' => 5]).PHP_EOL; $time_end = microtime(true); //dividing with 60 will give the execution time in minutes other wise seconds $execution_time = ($time_end - $time_start); //execution time of the script echo 'Total Execution Time: '.$execution_time.' Secs'.PHP_EOL;

preferences:
30.56 ms | 402 KiB | 5 Q