Thursday, 6 October 2016

php - parsing error - syntax error, unexpected T_NS_SEPARATOR

I have this line in PHP:



$bom != b"\xEF\xBB\xBF" 



When I run it, I get the error:



Parse error: syntax error, unexpected T_NS_SEPARATOR in
C:\xampp\htdocs\MediaAlbumWeb\Utils\Utils.php on line 218


What is the T_NS_SEPARATOR in php and why is it unexpected?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...