T-String

They have: 17 posts

Joined: Oct 2005

T-String

Well, I know how to fix the error - it's normally a missing apostrophe, comma, quotation mark or semi-colon, but what is a a T_String? Especially an unexpected T_String?

I've googled it and found technical descriptions but nothing concise..

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I think it's just the constant they assigned for that error (in the source code for PHP's interpreter)... it's probably short for "Type: String"

Limited additional info:
http://us3.php.net/tokens
http://us3.php.net/tokenizer

Mark Hensler
If there is no answer on Google, then there is no question.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.