3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $save_passwd = crypt('abcdefg', '$2y$10'); echo $save_passwd.'\n'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'\n'; if($encrypt == $save_passwd) echo "잘되었으면좋겠네요시발~"; if(password_verify('abcdefg', $save_passwd)){ echo "5.5버전이상"; }else{ echo "거지셈"; } ?>
Output for 7.0.0 - 7.3.0rc4
*0\n*1\n거지셈
Output for 5.5.24 - 5.6.28
$2MnRDUvYatck\n$2MnRDUvYatck\n잘되었으면좋겠네요시발~5.5버전이상
Output for 5.3.28 - 5.3.29, 5.4.18 - 5.4.45
$2y$10$$$$$$$$$$$$$$$$$$$$$$.Uh17GBGWex4DEFQzvG2XF.qYHkoVA5G\n$2y$10$$$$$$$$$$$$$$$$$$$$$$.Uh17GBGWex4DEFQzvG2XF.qYHkoVA5G\n잘되었으면좋겠네요시발~ Fatal error: Call to undefined function password_verify() in /in/rdPMO on line 7
Process exited with code 255.
Output for 5.3.7 - 5.3.27, 5.4.0 - 5.4.17
$2y$10$$$$$$$$$$$$$$$$$$$$$$.Uh17GBGWex4DEFQzvG2XF.qYHkoVA5G\n$2y$10$$$$$$$$$$$$$$$$$$$$$$.Uh17GBGWex4DEFQzvG2XF.qYHkoVA5G\n잘되었으면좋겠네요시발~ Fatal error: Call to undefined function password_verify() in /in/p84L5 on line 7
Process exited with code 255.
Output for 5.3.2 - 5.3.6
$2MnRDUvYatck\n$2MnRDUvYatck\n잘되었으면좋겠네요시발~ Fatal error: Call to undefined function password_verify() in /in/p84L5 on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.1
$2W5FNryXscWQ\n$2W5FNryXscWQ\n잘되었으면좋겠네요시발~ Fatal error: Call to undefined function password_verify() in /in/p84L5 on line 7
Process exited with code 255.
Output for 4.3.0 - 5.2.17

Process exited with code 139.