Syntax error, unexpected ‘class’ (T_CLASS) on line 1 after upgrade to php 5.6.4
After upgrading to php 5.6.4 my widgets file causes: Parse error: syntax error, unexpected ‘class’ (T_CLASS) in /home/path/fss-widgets.php on line 1 I’m mystified – several hours research has yielded nothing. The problem doesn’t appear to be quoting, escaping, or anything else you would expect in this situation and the code looks ok to me. <?php … Read more