3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time_start = microtime(true); echo password_hash('password', 'PASSWORD_ARGON2I', ['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;
Output for 7.1.7
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 1.5974044799805E-5 Secs
Output for 7.1.6
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 9.8943710327148E-5 Secs
Output for 7.0.7, 7.1.3, 7.1.5
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 9.7036361694336E-5 Secs
Output for 7.1.4
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 4.5061111450195E-5 Secs
Output for 7.1.2
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 0.00011181831359863 Secs
Output for 7.1.1
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 8.9168548583984E-5 Secs
Output for 7.1.0
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 5.6028366088867E-5 Secs
Output for 7.0.20
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 0.0010521411895752 Secs
Output for 7.0.19
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 0.0023820400238037 Secs
Output for 7.0.18
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 0.00057196617126465 Secs
Output for 7.0.17
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 5.2928924560547E-5 Secs
Output for 7.0.16
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 4.2200088500977E-5 Secs
Output for 7.0.15
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 3.9815902709961E-5 Secs
Output for 7.0.14
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 5.5074691772461E-5 Secs
Output for 7.0.13
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 9.2029571533203E-5 Secs
Output for 7.0.12
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 3.6954879760742E-5 Secs
Output for 7.0.11
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 3.3855438232422E-5 Secs
Output for 7.0.10
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 9.1075897216797E-5 Secs
Output for 7.0.9
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 3.0994415283203E-5 Secs
Output for 7.0.8
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 0.00010085105895996 Secs
Output for 7.0.6
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 4.4107437133789E-5 Secs
Output for 7.0.5
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 7.7962875366211E-5 Secs
Output for 7.0.4
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 8.8930130004883E-5 Secs
Output for 7.0.3
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 4.9114227294922E-5 Secs
Output for 7.0.2
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 3.504753112793E-5 Secs
Output for 7.0.1
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 3.7908554077148E-5 Secs
Output for 7.0.0
Warning: password_hash() expects parameter 2 to be integer, string given in /in/6hjbo on line 4 Total Execution Time: 4.3153762817383E-5 Secs

preferences:
63.51 ms | 401 KiB | 34 Q