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' , '$2a$07$'.$save_passwd.'$'); echo $encrypt.'<br />'; if(!strcmp($encrypt,$save_passwd)) echo "패스워드가 일치합니다."; ?>
Output for 5.5.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
*0<br />*0<br />패스워드가 일치합니다.
Output for 5.3.0 - 5.4.45
$2a$07$$$$$$$$$$$$$$$$$$$$$$.YASdeDDH6d0q0DCrgd0SgkDiq1DtGeC<br />$2a$07$$2a$07$$$$$$$$$$$$$$$.YASdeDDH6d0q0DCrgd0SgkDiq1DtGeC<br />
Output for 4.3.0 - 5.2.17

Process exited with code 139.