You likely have an unclosed single or double quote above that line in your code.
What is the b
that's outside of the quotes?
If it's a comparison, it could be something like:
if($bom != "b\xEF\xBB\xBF")
{
//code
}
Simple code to reproduce this error in PHP:
<?php
$arg = "'T'; //this unclosed double quote is perfectly fine.
$vehicle = ( $arg == 'B' ? 'bus' : 'not a bus');
print $vehicle . "\n"; //error is thrown on this line.
?>
Run this, it prints an error:
PHP Parse error: syntax error, unexpected T_NS_SEPARATOR in
/var/www/sandbox/eric/code/php/run08/a.php on line 6