What does the PHP error ‘Parse error in PHP – unexpected T_variable at line x’ means?

Recommended Answers

Answered by pritaeas 2,061 in a post from

"Parse error" means you made a typo.

Jump to Post

All 4 Replies

"Parse error" means you made a typo.

Check to make sure you didn't miss a semi-colon, parenthesis, or curly bracket anywhere before the line the error is on.

It means that your code has a syntax error. It could be that you have mis-spelled a word, or function ... or even that you have placed a character where it is not expected ...

it's a syntax error. maybe you mispelled something in your codes or maybe an extra bracket/symbols...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.