• This is an error I’ve not run into before, and have no idea what I should be correcting to make it work.

    Opening my blog homepage, http://globalmemo.org/weblog/,

    I receive the following error message:

    Parse error: syntax error, unexpected T_LNUMBER in /home/tfleming/public_html/weblog/wp-includes/formatting.php on line 98

    Here are lines 96-111 of said file, with line 98 in bold:

    function seems_utf8($Str) { # by bmorel at ssi dot fr
    for ($i=0; $i<strlen($Str); $i++) {
    if (ord($Str[$i]) 0x80) continue; # 0bbbbbbb
    elseif ((ord($Str[$i]) & 0xE0) == 0xC0) $n=1; # 110bbbbb
    elseif ((ord($Str[$i]) & 0xF0) == 0xE0) $n=2; # 1110bbbb
    elseif ((ord($Str[$i]) & 0xF8) == 0xF0) $n=3; # 11110bbb
    elseif ((ord($Str[$i]) & 0xFC) == 0xF8) $n=4; # 111110bb
    elseif ((ord($Str[$i]) & 0xFE) == 0xFC) $n=5; # 1111110b
    else return false; # Does not match any model
    for ($j=0; $j$n; $j++) { # n bytes matching 10bbbbbb follow ?
    if ((++$i == strlen($Str)) || ((ord($Str[$i]) & 0xC0) != 0x80))
    return false;
    }
    }
    return true;
    }

    Any help would be greatly appreciated!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘T_LNUMBER?’ is closed to new replies.