3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $sSalt = '$2y$10$1234567890123456789012$'; echo "\n"; echo $sHash = crypt('~!@#$%^&*()_+abcd', $sSalt); echo "\n" , crypt('~!@#$%^&*()_+abcd', $sHash);
based on lkdUq
Output for 5.3.7 - 7.2.0
$2y$10$1234567890123456789012$ $2y$10$123456789012345678901uAhKy1WPbs4l2QlemaJVyNzDuPPVT.PW $2y$10$123456789012345678901uAhKy1WPbs4l2QlemaJVyNzDuPPVT.PW
Output for 5.3.2 - 5.3.6
$2y$10$1234567890123456789012$ $2JUjFFaSAnI6 $2JUjFFaSAnI6
Output for 5.3.0 - 5.3.1
$2y$10$1234567890123456789012$ $279rT6OdR/tM $279rT6OdR/tM
Output for 4.3.0 - 5.2.17
$2y$10$1234567890123456789012$
Process exited with code 139.