I have the latest version of XAMPP running on a new Macbook (OSX 10.10 Yosemite). As far as I can tell at the moment, Apache and MySQL are working ok, but testing PHP using <?php echo 'Hello world'; ?> brings up
Parse error: syntax error, unexpected 'worldâ€™' (T_STRING), expecting ',' or ';' in /Applications/XAMPP/xamppfiles/htdocs/test.php on line 2
I have looked for an answer on the forum (to which I am new) but so far to no avail, and being new also to OSX and PHP would be grateful for any suggestion as to what may need tweaking to resolve the issue (e.g. something in OSX, or php.ini, or something else).