3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $first = '!Password1'; $second = '!Passwor'; $password_salt = "311ca5f0-08ac-0131-ca44-42d9c34959f9"; echo crypt($first,$password_salt); echo crypt($second,$password_salt); //Result: 31T5JJcAI4fZg 31T5JJcAI4fZg
Output for 5.4.0 - 5.5.4
Parse error: syntax error, unexpected 'T5JJcAI4fZg' (T_STRING) in /in/d1rMO on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_STRING in /in/d1rMO on line 12
Process exited with code 255.