3v4l.org

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