Trying to debug the actual cause – the code in question parses in PHP7.3 but fails in anything lower. 7.3 and above should be fine, but my host is running an older version, I suspect the same will be true of others here.
I’m just trying to pinpoint why PHP5.6 doesn’t like the syntax.