Essentially whenever i try to run a PHP file from the browser I get exactly the same error, although the name of the file obviously changes:
"Parse error: syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING in /Applications/XAMPP/xamppfiles/htdocs/run.php on line 10"
Even if (as in this case) all that is in the file is:
I'm using the latest version of Xampp and I've tried reinstalling it countless times. Does anyone know how I can fix this?
"Parse error: syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING in /Applications/XAMPP/xamppfiles/htdocs/run.php on line 10"
Even if (as in this case) all that is in the file is:
PHP:
<?php
?>
I'm using the latest version of Xampp and I've tried reinstalling it countless times. Does anyone know how I can fix this?