- Output for 5.3.0 - 5.3.24, 5.4.0 - 5.4.15
- Parse error: syntax error, unexpected '>' in 4I9aI on line 20
Process exited with code 255. - Output for 5.3.25
- Parse error: syntax error, unexpected '>' in /in/Z4pYg on line 20
Process exited with code 255.
<?php
function encrypt($str)
{
$cryptedstr = "";
for ($i =0; $i < strlen($str); $i++)
{
$temp = ord(substr($str,$i,1)) ^ 192;
while(strlen($temp)<3)
{
$temp = "0".$temp;
}
$cryptedstr .= $temp. "";
}
return base64_encode($cryptedstr);
}
echo(encrypt("Admin ' and 1 = 0 -- "));
>