3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = "0123456789ABCDEFGHIJKLMOPQRSTUVWabcdefghijklmnopqrstuvw"; $length = strlen($chars); $per = $index % $length; $subst = substr($chars, $per); $disp = ord($subst); echo ($index << $disp);

preferences:
30.12 ms | 402 KiB | 5 Q