3v4l.org

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

Process exited with code 139.