3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash('heh'));
based on SGvjK
Output for 5.5.0 - 5.6.30, 7.0.0 - 7.3.0rc4
Warning: password_hash() expects at least 2 parameters, 1 given in /in/YWnpK on line 3 NULL
Output for hhvm-3.11.1 - 3.17.3
Warning: password_hash() expects at least 2 parameters, 1 given in /in/YWnpK on line 3 Fatal error: Uncaught TypeError: Argument 2 passed to password_hash() must be an instance of int, undefined variable given in /in/YWnpK:3 Stack trace: #0 /in/YWnpK(3): password_hash() #1 {main}
Process exited with code 255.
Output for hhvm-3.10.1
Warning: password_hash() expects at least 2 parameters, 1 given in /in/YWnpK on line 3 Catchable fatal error: Argument 2 passed to password_hash() must be an instance of int, undefined variable given in /in/YWnpK on line 3
Process exited with code 255.