3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $save_passwd = crypt('abcdefg', '$2a$07$'); echo $save_passwd.'<br />'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'<br />'; if(!strcmp($encrypt,$save_passwd)) echo "패스워드가 일치합니다."; ?>
Output for 5.5.21 - 5.5.38, 5.6.5 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
*0<br />*1<br />
Output for 5.5.0 - 5.5.20, 5.6.0 - 5.6.4
*0<br />*0wKKbsxspP6s<br />
Output for 5.3.0 - 5.4.45
$2a$07$$$$$$$$$$$$$$$$$$$$$$.YASdeDDH6d0q0DCrgd0SgkDiq1DtGeC<br />$2a$07$$$$$$$$$$$$$$$$$$$$$$.YASdeDDH6d0q0DCrgd0SgkDiq1DtGeC<br />패스워드가 일치합니다.
Output for 4.3.0 - 5.2.17

Process exited with code 139.