3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str="Admin ' and 1 = 0 -- " $cryptedstr = ""; for ($i =0; $i < strlen($str); $i++) { $temp = ord(substr($str,$i,1)) ^ 192; while(strlen($temp)<3) { $temp = "0".$temp; } $cryptedstr .= $temp. ""; } echo base64_encode($cryptedstr); >
Output for 5.4.0 - 5.4.15
Parse error: syntax error, unexpected '$cryptedstr' (T_VARIABLE) in boFVF on line 3
Process exited with code 255.
Output for 5.3.25
Parse error: syntax error, unexpected T_VARIABLE in /in/boFVF on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.24
Parse error: syntax error, unexpected T_VARIABLE in boFVF on line 3
Process exited with code 255.

preferences:
162.1 ms | 1399 KiB | 49 Q