Recently I encountered this question
Plugin development - parse error
and as it's probably the first of this kind, I would propose to delete it and not to accept similar questions in the future.
Here is my thinking:
Typical for "have a bunch of code, does not work, debug my code and help me!"
Very unlikely somebody else is going to have the same issue, looks like more 1 one 1 help, which is not in the spirit of SE.
clearly not using an IDE and displaying bad coding practices.
How do you feel about it?