Ok, just wanted to help. So delete this, if you like.
It is exactly the same issue and i am just adding the info of php5. This indicates, that the answere by Clayton can not solve the problem. So i think, it helps yourboysha too. Am i wrong?
I have the same issue:
Parse error: syntax error, unexpected T_VARIABLE in /XXX/XXX/XXX/XXX/wp-includes/option.php on line 225
Using php 5.2.13
and MySQL 5.1.60
Any ideas?