3v4l.org

run code in 300+ PHP versions simultaneously
<?php $save_passwd = crypt('abcdefg', '$6$rounds=5000$'); 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 'abcdefg' (T_STRING), expecting ',' or ';' in /in/i9Gfi on line 4
Process exited with code 255.
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected 'abcdefg' (T_STRING), expecting ',' or ';' in /in/Sb4RC on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/Sb4RC on line 4
Process exited with code 255.

preferences:
194.31 ms | 1395 KiB | 55 Q