3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $save_passwd = crypt('abcdefg', '$6$rounds=5000$'); echo $save_passwd.'<br />'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'<br />'; if(!strcmp($encrypt,$save_passwd)) echo "패스워드가 일치합니다."; ?>
Output for 5.3.2 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0
$6$rounds=5000$$iCQSfxD9bUvvHDthzINAqGXRAqVH03hmKLjoWBRwJUT1b.47PVp857gPwyCAt4gofDKJXef28HmFaT8CX2ab4.<br />$6$rounds=5000$$iCQSfxD9bUvvHDthzINAqGXRAqVH03hmKLjoWBRwJUT1b.47PVp857gPwyCAt4gofDKJXef28HmFaT8CX2ab4.<br />패스워드가 일치합니다.
Output for hhvm-3.12.0

Process exited with code 137.
Output for 5.3.0 - 5.3.1
$66hG3857gcDw<br />$66hG3857gcDw<br />패스워드가 일치합니다.
Output for 4.3.0 - 5.2.17
$6$rounds=50$UgsB5/fD5Qv6OwsQotNby6JodXVesNgEiCpM.QzpnQcEqwi2sMffN8B2UjT/r7PWAYjusvMf9uzR.ljvgtc4n/<br />$6$rounds=50$UgsB5/fD5Qv6OwsQotNby6JodXVesNgEiCpM.QzpnQcEqwi2sMffN8B2UjT/r7PWAYjusvMf9uzR.ljvgtc4n/<br />패스워드가 일치합니다.