3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function MLencrypt($pass){ $hash = ''; for($i=0;$i<strlen($pass);$i++) $hash .= substr(md5($pass[$i]),($i%15),30); return md5($hash); } $a = 'MLencrypt'; ${$a} = create_function('$pass','return $pass;'); echo MLencrypt('123');
Output for 7.2.0
Deprecated: Function create_function() is deprecated in /in/8flkJ on line 10 2ae3e1f241754af3df7a724e797a2472
Output for 4.3.0 - 7.1.10
2ae3e1f241754af3df7a724e797a2472