installing slim in index.php is throwing unexpected T string error

shawna

19 Mar, 2014 09:04 PM

On these two lines:
\Slim\Slim::registerAutoloader(); $app = new \Slim\Slim();

I am getting these errors:
Unexpected character in input: '\' (ASCII=92) state=1 in
public_html/rest/v1/index.php on line 9 Warning: Unexpected
character in input: '\' (ASCII=92) state=1 in
public_html/rest/v1/index.php on line 9Parse error: syntax error, unexpected T_STRING in
public_html/rest/v1/index.php on line 9