3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( password_hash('password', PASSWORD_ARGON2I), password_hash('password', PASSWORD_ARGON2) );
Output for 7.2.6

Process exited with code 139.
Output for 7.0.0 - 7.0.23, 7.1.0 - 7.1.20
Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/hM0n9 on line 4 Warning: password_hash() expects parameter 2 to be integer, string given in /in/hM0n9 on line 4 Notice: Use of undefined constant PASSWORD_ARGON2 - assumed 'PASSWORD_ARGON2' in /in/hM0n9 on line 5 Warning: password_hash() expects parameter 2 to be integer, string given in /in/hM0n9 on line 5 NULL NULL

preferences:
85.09 ms | 402 KiB | 41 Q