3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $user_input = '12+#æ345'; $pass = urlencode($user_input)); $pass_crypt = crypt($pass); if ($pass_crypt == crypt($pass, $pass_crypt)) { echo "Success! Valid password"; } else { echo "Invalid password"; } ?>
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected ')' in /in/fDPT4 on line 4
Process exited with code 255.