### Parse error: syntax error, unexpected T_XXX
Happens when you have [`T_XXX` token](http://php.net/tokens) in unexpected place, unbalanced (superfluous) parentheses, use of short tag without activating it in php.ini, and many more.
Related Questions:
- Reference: [PHP Parse/Syntax Errors; and How to solve them?](http://stackoverflow.com/q/18050071/367456)
- [Parse Error: syntax error: unexpected '{'][1]
- [Parse error: Syntax error, unexpected end of file in my PHP code][2]
- [Parse error: syntax error, unexpected '<' in - Fix?][3]
- [Parse error: syntax error, unexpected '?'][4]
For further help see:
- http://phpcodechecker.com/ - Which does provide some more helpful explanations on your syntax woes.
[1]: http://stackoverflow.com/questions/7059753/parse-error-syntax-error-unexpected
[2]: http://stackoverflow.com/questions/11482527/parse-error-syntax-error-unexpected-end-of-file-in-my-php-code
[3]: http://stackoverflow.com/questions/992403/parse-error-syntax-error-unexpected-in-fix
[4]: http://stackoverflow.com/questions/9762216/parse-error-syntax-error-unexpected