3v4l.org

run code in 300+ PHP versions simultaneously
<?php $setting = '$5$rounds=250000$1234567890987654321$'; $encrypted = crypt('StringToEncrypt', $setting); $hash = \substr($encrypted, \strlen($setting)) echo $hash;
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/0EMlk on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ECHO in /in/0EMlk on line 5
Process exited with code 255.

preferences:
185.79 ms | 1395 KiB | 61 Q