3v4l.org

run code in 300+ PHP versions simultaneously
<?php function MLencrypt($pass){ $hash = ''; for($i=0;$i<strlen($pass);$i++) $hash .= substr(md5($pass[$i]),($i%15),30); echo $hash."\n"; return md5($hash); } $a = 'MLencrypt'; echo {$a}('1234567890123456');
Output for 5.3.0 - 5.3.26, 5.4.0 - 5.4.16
Parse error: syntax error, unexpected '{' in /in/L9FHM on line 11
Process exited with code 255.

preferences:
182.28 ms | 1395 KiB | 51 Q