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}; ${$a} = 'echo phpinfo();'; echo MLencrypt('123');
Output for git.master, git.master_jit, rfc.property-hooks
c4ca4238a0b923820dcc509a6f758481e728d9d4c2f636f067f89cc14862cbc87e4b5ce2fe28308fd9f2a7baf3 2ae3e1f241754af3df7a724e797a2472

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
37.36 ms | 401 KiB | 8 Q