Free source code and tutorials for Software developers and Architects. How to reproduce this error, put this in a file called a. php PHP Parse error: syntax error, unexpected T_ VARIABLE. This means that your code should never rely directly on the original T_ * values. and an appropriate strategy that will work with both PHP versions and T_ * values. T_ DOLLAR_ OPEN_ CURLY_ BRACES, $ {, complex variable parsed syntax. For example, an " unexpected T_ ENCAPSED_ AND_ WHITESPACE" error is. if you need help hire me at: In this tutorial, I am going to explain how to fix a most common error that every programmer face i. Code without any syntax error will be