I am making a little game with a bunch of scripts that people need to put together the pieces to create words...
Here is the entire thing
<?php
;$string="";;$string=str_replace("","hell",$string);$string.="o";;$L = "l";;$LL="l";;
;$O = substr("l".md5("o048sd3b0"),0,1);;$L.="lLLLLl";;$LL=strlen(
"l345.506");;$L=substr($L,0,1);;$L=substr($L,0,1);;$LL=substr("l".$LL,0,1);
;if($L==="l"){$string=$string;};;if($LL==="l"){$string=$string;};
;$string=substr($string,0,2);$string=$string."ll"."o";print ucfirst("he".substr($string,1,3));?>
they must use all pieces of a code given, to win a prize. One person has put everything together just like this
<?php
;$string="";;$string=str_replace("","hell",$string);$string.="o";;$L = "l";;$LL="l";; ///////<<<<<<<< DO NOT TOUCH ANYTHING FROM HERE
;$O = substr("l".md5("o048sd3b0"),0,1);;$L.="lLLLLl";;$LL=strlen(
"l345.506");;$L=substr($L,0,1);;$L=substr($L,0,1);;$LL=substr("l".$LL,0,1);
;if($L==="l"{$string=$string;};;if($LL==="l"){$string=$string;};
;$string=substr($string,0,2);$string=$string."ll"."o";print ucfirst("he".substr($string,1,3));?>
And it doesnt work, some error comes up
Parse error: syntax error, unexpected ';' in C:\wamp\www\shorttext\index.php on line 5
;if($L==="l"{$string=$string;};;if($LL==="l"){$string=$string;};
If this code is confusing, all it does it print the word "Hello";