3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function encrypt($cr){ $c=$b=$a=array(); $d=array('?', '(' , '@' , ';' , '$','#',']','&','*'); $d=array_merge(range($d,'a','z'),range('A','Z'),range(0,9)); $d=array_merge($d,array('!',')','_','+','|','%','/','[','.',' ') ); $e=9;$f=0; for(;$f<$e;$f++) { for($g=0;$g<$e;$g++){ $b[$f][$g]=$d[$f*$e+$g]; $a[$f][$g]=str_rot13($d[($e*$e-1)-($f*$e+$g)]); } } unset($d); $h=floor(strlen($cr)/2)*2; if(strlen($cr)==$h) { } } } ?>
based on EihpA
Output for 7.0.0
Parse error: syntax error, unexpected '}', expecting end of file in /in/VKdpV on line 23
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected '}' in /in/VKdpV on line 23
Process exited with code 255.