3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $salt = md5(microtime(true)); $save_passwd = crypt('abcdefg', '$2y$07$'); echo $save_passwd.'\n'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'\n'; if($encrypt == $save_passwd) echo "잘되었으면좋겠네요시발~"; ?>
Output for 5.5.24 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
*0\n*1\n
Output for 5.3.7 - 5.4.45
$2y$07$$$$$$$$$$$$$$$$$$$$$$.YASdeDDH6d0q0DCrgd0SgkDiq1DtGeC\n$2y$07$$$$$$$$$$$$$$$$$$$$$$.YASdeDDH6d0q0DCrgd0SgkDiq1DtGeC\n잘되었으면좋겠네요시발~
Output for 5.3.2 - 5.3.6
$2MnRDUvYatck\n$2MnRDUvYatck\n잘되었으면좋겠네요시발~
Output for 5.3.0 - 5.3.1
$2W5FNryXscWQ\n$2W5FNryXscWQ\n잘되었으면좋겠네요시발~
Output for 4.3.0 - 5.2.17

Process exited with code 139.