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)."\n"; echo crypt($second,$password_salt); //Result:31T5JJcAI4fZg31T5JJcAI4fZg
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
31T5JJcAI4fZg 31T5JJcAI4fZg
Output for 5.1.0
<br /> <b>Fatal error</b>: fatal flex scanner internal error--end of buffer missed in <b>/in/P4Gok</b> on line <b>11</b><br />
Process exited with code 255.