expecting ' ] ' in / var/ www/ 411/ config. I have no idea why it wouldn' t accept this. JavaScript variable declarations begin with ' var' and PHP does not. If PHP were to encounter the code ' var' before a variable, it would give the error message you listed. How do you parse and process HTML/ XML in PHP? 3791 · Reference. Your problem is apparently with the short open tag