3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $save_passwd = crypt('abcdefg', '$2y$10$sdfasdfasdfasfadfsasfdasafd'); echo $save_passwd.'\n'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'\n'; if($encrypt == $save_passwd) echo "잘되었으면좋겠네요시발~"; //$options = [ // 'cost' => 10, // 'salt' => "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$", //]; //$save_passwd = password_hash('abcdefg', PASSWORD_BCRYPT, $options); if(password_verify('abcdefg', $save_passwd)){ echo "5.5버전이상"; }else{ echo "거지셈"; } ?>
Output for 5.5.0 - 7.1.0
$2y$10$sdfasdfasdfasfadfsasfONi/Gl2JXOQZjkv6sq5PGUvoz4Hco.UO\n$2y$10$sdfasdfasdfasfadfsasfONi/Gl2JXOQZjkv6sq5PGUvoz4Hco.UO\n잘되었으면좋겠네요시발~5.5버전이상
Output for 5.3.7 - 5.4.45
$2y$10$sdfasdfasdfasfadfsasfONi/Gl2JXOQZjkv6sq5PGUvoz4Hco.UO\n$2y$10$sdfasdfasdfasfadfsasfONi/Gl2JXOQZjkv6sq5PGUvoz4Hco.UO\n잘되었으면좋겠네요시발~ Fatal error: Call to undefined function password_verify() in /in/ZnaGs on line 12
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/ZnaGs on line 12
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/ZnaGs on line 12
Process exited with code 255.
Output for 4.3.0 - 5.2.17

Process exited with code 139.