3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $sSalt = '$2a$10$1234567890123456789012$'; echo "\n"; echo $sHash = crypt('abcd', $sSalt); echo "\n" , crypt('abcd', $sHash);
based on n0cNW
Output for 5.3.0 - 7.2.0
$2a$10$1234567890123456789012$ $2a$10$123456789012345678901un0/v4am9/hxO7N/.2oJUarUgaEFp70q $2a$10$123456789012345678901un0/v4am9/hxO7N/.2oJUarUgaEFp70q
Output for 4.3.0 - 5.2.17
$2a$10$1234567890123456789012$
Process exited with code 139.