is this php for loop correct?
I am trying to run the pagerank script that I found on http://www.getrank.org/pagerank-script/. But I get an error message when I try it. Error message below.

is this a legit php code?

    ...
    function _strord($string){
    for($i=0;$i $result[$i] = ord($string{$i});
    return $result;
    }
    ...

I get this error on the line where the for statement starts.

    Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /home/Desktop/test/pagerank-checker.php on line 73


Thanks.
is this php for loop correct?
===

I am trying to run the pagerank script that I found on http://www.getrank.org/pagerank-script/. But I get an error message when I try it. Error message below.

is this a legit php code?

    ...
    function _strord($string){
    for($i=0;$i $result[$i] = ord($string{$i});
    return $result;
    }
    ...

I get this error on the line where the for statement starts.

    Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /home/Desktop/test/pagerank-checker.php on line 73


Thanks.