3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $salt = '12345678901234567890'; $pw = 'test'; echo "Hash with salt: " . crypt($pw, '$2a$11$' . $salt) . "\n";
Output for 5.5.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Hash with salt: *0
Output for 5.3.0 - 5.4.45
Hash with salt: $2a$11$12345678901234567890$.sTHQ7O4gHgO7alM/cri4fhJvojMP3v2
Output for 4.3.0 - 5.2.17

Process exited with code 139.