3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $salt = md5(microtime(true)); $save_passwd = crypt('abcdefg', '$2y$07$'$salt.'$'); echo $save_passwd.'\n'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'\n'; if($encrypt == $save_passwd) echo "잘되었으면좋겠네요시발~"; ?>
Output for 5.4.18 - 5.4.19
Parse error: syntax error, unexpected '$salt' (T_VARIABLE) in /in/eI8rh on line 3
Process exited with code 255.
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected '$salt' (T_VARIABLE) in /in/4a6Nj on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_VARIABLE in /in/4a6Nj on line 3
Process exited with code 255.