There’s alot of questions asking for help troubleshooting errors when T_Echo and T_Print arise, but what does the T_ mean?
There’s alot of questions asking for help troubleshooting errors when T_Echo and T_Print arise,
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It stands for “token”. PHP source code is split into tokens, then interpreted. This process is known as tokenization.
See this page for a list of PHP tokens.
You can see for yourself how tokenization works by running
token_get_all()on a piece of PHP code.The reason why these often come up in basic troubleshooting questions is that the OP has made a syntax error, and the parser encounters an unexpected token as a result of that.