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.2.6

Process exited with code 139.
Output for 7.2.0
$argon2i$v=19$m=16384,t=20,p=5$bTY1aGlhNmlYUVR4TDFLVA$1V7bGs0WeWH4y4CET8elDdjvtXGTg7kMplAsj6rndc8 Total Execution Time: 0.15405106544495 Secs
Output for 7.1.10
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 2.7894973754883E-5 Secs
Output for 7.1.7
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 2.0980834960938E-5 Secs
Output for 7.1.6
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.00015497207641602 Secs
Output for 7.1.5
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 4.1961669921875E-5 Secs
Output for 7.1.4
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 9.7990036010742E-5 Secs
Output for 7.1.3
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 4.0054321289062E-5 Secs
Output for 7.1.2
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 9.5844268798828E-5 Secs
Output for 7.1.1
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 3.6001205444336E-5 Secs
Output for 7.1.0
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 4.1007995605469E-5 Secs
Output for 7.0.20
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 6.1988830566406E-5 Secs
Output for 7.0.19
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.0067811012268066 Secs
Output for 7.0.18
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.00017499923706055 Secs
Output for 7.0.17
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 5.0067901611328E-5 Secs
Output for 7.0.16
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 3.9100646972656E-5 Secs
Output for 7.0.15
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.00010299682617188 Secs
Output for 7.0.14
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.00013518333435059 Secs
Output for 7.0.11, 7.0.13
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.00012612342834473 Secs
Output for 7.0.12
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 9.8943710327148E-5 Secs
Output for 7.0.10
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 6.103515625E-5 Secs
Output for 7.0.9
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 4.6968460083008E-5 Secs
Output for 7.0.8
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 5.0783157348633E-5 Secs
Output for 7.0.7
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.00010490417480469 Secs
Output for 7.0.6
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.00013399124145508 Secs
Output for 7.0.5
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.00010108947753906 Secs
Output for 7.0.4
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 6.8902969360352E-5 Secs
Output for 7.0.3
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 5.3882598876953E-5 Secs
Output for 7.0.2
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 5.9127807617188E-5 Secs
Output for 7.0.1
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 0.00012016296386719 Secs
Output for 7.0.0
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/GfO5M on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/GfO5M on line 4 Total Execution Time: 6.2942504882812E-5 Secs

preferences:
67.1 ms | 402 KiB | 37 Q